K4os.Compression.LZ4.Streams.xml 100 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>K4os.Compression.LZ4.Streams</name>
  5. </assembly>
  6. <members>
  7. <member name="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader">
  8. <summary>
  9. Generic interface for frame/stream decoder for LZ4.
  10. </summary>
  11. </member>
  12. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.OpenFrame">
  13. <summary>
  14. Opens frame for reading. Please note, this method is not needed as it will be
  15. called automatically, but it can be used to quickly check if frame is valid.
  16. </summary>
  17. <returns><c>true</c> if frame was just opened,
  18. <c>false</c> if it was opened before.</returns>
  19. </member>
  20. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.OpenFrameAsync(System.Threading.CancellationToken)">
  21. <summary>Async version of <see cref="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.OpenFrame"/>.</summary>
  22. <param name="token">Cancellation token.</param>
  23. <returns><c>true</c> if frame was just opened,
  24. <c>false</c> if it was opened before.</returns>
  25. </member>
  26. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.GetFrameLength">
  27. <summary>Gets the length of the frame content if it was provided when content was encoded.</summary>
  28. <returns>Frame length, or <c>null</c></returns>
  29. </member>
  30. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.GetFrameLengthAsync(System.Threading.CancellationToken)">
  31. <summary>Async version of <see cref="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.GetFrameLength"/>.</summary>
  32. <param name="token">Cancellation token.</param>
  33. <returns>Frame length, or <c>null</c></returns>
  34. </member>
  35. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.ReadOneByte">
  36. <summary>Reads one byte from LZ4 stream.</summary>
  37. <returns>A byte, or -1 if end of stream.</returns>
  38. </member>
  39. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.ReadOneByteAsync(System.Threading.CancellationToken)">
  40. <summary>Reads one byte from LZ4 stream.</summary>
  41. <param name="token">Cancellation token.</param>
  42. <returns>A byte, or -1 if end of stream.</returns>
  43. </member>
  44. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.ReadManyBytes(System.Span{System.Byte},System.Boolean)">
  45. <summary>Reads many bytes from LZ4 stream. Return number of bytes actually read.</summary>
  46. <param name="buffer">Byte buffer to read into.</param>
  47. <param name="interactive">if <c>true</c> then returns as soon as some bytes are read,
  48. if <c>false</c> then waits for all bytes being read or end of stream.</param>
  49. <returns>Number of bytes actually read.
  50. <c>0</c> means that end of stream has been reached.</returns>
  51. </member>
  52. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.ReadManyBytesAsync(System.Threading.CancellationToken,System.Memory{System.Byte},System.Boolean)">
  53. <summary>Reads many bytes from LZ4 stream. Return number of bytes actually read.</summary>
  54. <param name="token">Cancellation token.</param>
  55. <param name="buffer">Byte buffer to read into.</param>
  56. <param name="interactive">if <c>true</c> then returns as soon as some bytes are read,
  57. if <c>false</c> then waits for all bytes being read or end of stream.</param>
  58. <returns>Number of bytes actually read.
  59. <c>0</c> means that end of stream has been reached.</returns>
  60. </member>
  61. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.GetBytesRead">
  62. <summary>Returns how many bytes in has been read from stream so far.</summary>
  63. <returns>Number of bytes read in total.</returns>
  64. </member>
  65. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.CloseFrame">
  66. <summary>Closes the stream, releases allocated memory.</summary>
  67. </member>
  68. <member name="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter">
  69. <summary>
  70. Generic interface for LZ4 frame/stream writer.
  71. </summary>
  72. </member>
  73. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.OpenFrame">
  74. <summary>
  75. Opens a stream by reading frame header. Please note, this methods can be called explicitly
  76. but does not need to be called, it will be called automatically if needed.
  77. </summary>
  78. <returns><c>true</c> if frame has been opened,
  79. or <c>false</c> if it was opened before.</returns>
  80. </member>
  81. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.OpenFrameAsync(System.Threading.CancellationToken)">
  82. <summary>
  83. Opens a stream by reading frame header. Please note, this methods can be called explicitly
  84. but does not need to be called, it will be called automatically if needed.
  85. </summary>
  86. <param name="token">Cancellation token.</param>
  87. <returns><c>true</c> if frame has been opened,
  88. or <c>false</c> if it was opened before.</returns>
  89. </member>
  90. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.WriteOneByte(System.Byte)">
  91. <summary>Writes one byte to stream.</summary>
  92. <param name="value">Byte to be written.</param>
  93. </member>
  94. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.WriteOneByteAsync(System.Threading.CancellationToken,System.Byte)">
  95. <summary>Writes one byte to stream.</summary>
  96. <param name="token">Cancellation token.</param>
  97. <param name="value">Byte to be written.</param>
  98. </member>
  99. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.WriteManyBytes(System.ReadOnlySpan{System.Byte})">
  100. <summary>Writes multiple bytes to stream.</summary>
  101. <param name="buffer">Byte buffer.</param>
  102. </member>
  103. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.WriteManyBytesAsync(System.Threading.CancellationToken,System.ReadOnlyMemory{System.Byte})">
  104. <summary>Writes multiple bytes to stream.</summary>
  105. <param name="token">Cancellation token.</param>
  106. <param name="buffer">Byte buffer.</param>
  107. </member>
  108. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.GetBytesWritten">
  109. <summary>Gets number of bytes written.</summary>
  110. <returns>Total number of bytes (before compression).</returns>
  111. </member>
  112. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.CloseFrame">
  113. <summary>
  114. Closes frame. Frame needs to be closed for stream to by valid, although
  115. this methods does not need to be called explicitly if stream is properly dispose.
  116. </summary>
  117. </member>
  118. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.CloseFrameAsync(System.Threading.CancellationToken)">
  119. <summary>
  120. Closes frame. Frame needs to be closed for stream to by valid, although
  121. this methods does not need to be called explicitly if stream is properly dispose.
  122. </summary>
  123. <param name="token">Cancellation token.</param>
  124. </member>
  125. <member name="T:K4os.Compression.LZ4.Streams.Abstractions.IStreamReader`1">
  126. <summary>
  127. Stream reader interface. It is an adapter for all stream-like structures.
  128. </summary>
  129. <typeparam name="TStreamState">Stream state.</typeparam>
  130. </member>
  131. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamReader`1.Read(`0@,System.Byte[],System.Int32,System.Int32)">
  132. <summary>
  133. Reads at-most <paramref name="length"/> bytes from given <paramref name="state"/>.
  134. </summary>
  135. <param name="state">Stream state.</param>
  136. <param name="buffer">Buffer to read bytes into.</param>
  137. <param name="offset">Offset in buffer.</param>
  138. <param name="length">Maximum number of bytes to read.</param>
  139. <returns>Number of bytes actually read.</returns>
  140. </member>
  141. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamReader`1.ReadAsync(`0,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  142. <summary>
  143. Reads at-most <paramref name="length"/> bytes from given <paramref name="state"/>.
  144. </summary>
  145. <param name="state">Stream state.</param>
  146. <param name="buffer">Buffer to read bytes into.</param>
  147. <param name="offset">Offset in buffer.</param>
  148. <param name="length">Maximum number of bytes to read.</param>
  149. <param name="token">Cancellation token.</param>
  150. <returns><see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1"/> containing new stream state,
  151. and number of bytes actually read..</returns>
  152. </member>
  153. <member name="T:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1">
  154. <summary>
  155. Generic stream writer interface.
  156. When implementing custom compression target or decompression source you need to implement
  157. this adapter. Please note, that this adapter can be implemented as <c>class</c> or
  158. <c>readonly struct</c>. If implemented as <c>struct</c> it cannot have mutable state
  159. as it will be lost. Immutable state is allowed but strongly discouraged.
  160. Use <typeparamref name="TStreamState"/> instead.
  161. </summary>
  162. <typeparam name="TStreamState">Mutable part of stream state.</typeparam>
  163. </member>
  164. <member name="P:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.CanFlush">
  165. <summary>Indicates that writer can and should flush after frame.
  166. Please note, flushing may have negative performance effect but may also lead to
  167. better interactivity between writer and reader, as reader will get new block
  168. available as soon as possible.</summary>
  169. </member>
  170. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.Write(`0@,System.Byte[],System.Int32,System.Int32)">
  171. <summary>Writes byte buffer to underlying stream.</summary>
  172. <param name="state">Stream state.</param>
  173. <param name="buffer">Byte buffer.</param>
  174. <param name="offset">Offset within buffer.</param>
  175. <param name="length">Number of bytes.</param>
  176. </member>
  177. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.WriteAsync(`0,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  178. <summary>Writes byte buffer to underlying stream.</summary>
  179. <param name="state">Stream state.</param>
  180. <param name="buffer">Byte buffer.</param>
  181. <param name="offset">Offset within buffer.</param>
  182. <param name="length">Number of bytes.</param>
  183. <param name="token">Cancellation token.</param>
  184. <returns>New stream state (mutable part).</returns>
  185. </member>
  186. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.Flush(`0@)">
  187. <summary>Flushes buffers to underlying storage. Called only when <see cref="P:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.CanFlush"/></summary>
  188. <param name="state">Stream state.</param>
  189. </member>
  190. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.FlushAsync(`0,System.Threading.CancellationToken)">
  191. <summary>Flushes buffers to underlying storage. Called only when <see cref="P:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.CanFlush"/></summary>
  192. <param name="state">Stream state.</param>
  193. <param name="token">Cancellation token.</param>
  194. <returns>New stream state (mutable part).</returns>
  195. </member>
  196. <member name="T:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1">
  197. <summary>
  198. Result of async read operation. Returns new state of the stream and number of bytes read.
  199. </summary>
  200. <param name="Stream">New stream state.</param>
  201. <param name="Bytes">Number of bytes read.</param>
  202. <typeparam name="TStreamState">Stream state.</typeparam>
  203. </member>
  204. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1.#ctor(`0,System.Int32)">
  205. <summary>
  206. Result of async read operation. Returns new state of the stream and number of bytes read.
  207. </summary>
  208. <param name="Stream">New stream state.</param>
  209. <param name="Bytes">Number of bytes read.</param>
  210. <typeparam name="TStreamState">Stream state.</typeparam>
  211. </member>
  212. <member name="P:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1.Stream">
  213. <summary>New stream state.</summary>
  214. </member>
  215. <member name="P:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1.Bytes">
  216. <summary>Number of bytes read.</summary>
  217. </member>
  218. <member name="T:K4os.Compression.LZ4.Streams.Abstractions.ReadResult">
  219. <summary>
  220. Helper methods to create <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1"/>
  221. </summary>
  222. </member>
  223. <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ReadResult.Create``1(``0,System.Int32)">
  224. <summary>
  225. Creates read result, composed of new stream state and bytes read.
  226. </summary>
  227. <param name="stream">Stream state.</param>
  228. <param name="bytes">Bytes read.</param>
  229. <typeparam name="TStreamState">Stream state.</typeparam>
  230. <returns>Read result.</returns>
  231. </member>
  232. <member name="T:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1">
  233. <summary>
  234. Stream adapter for any class implementing <see cref="T:System.Buffers.IBufferWriter`1"/>.
  235. It takes actual class, not interface, so it can use struct implementations
  236. of <see cref="T:System.Buffers.IBufferWriter`1"/> for performance reasons.
  237. Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
  238. pubternal - exposed as public but still very likely to change.
  239. </summary>
  240. <typeparam name="TBufferWriter">Type implementing <see cref="T:System.Buffers.IBufferWriter`1"/></typeparam>
  241. </member>
  242. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1.Write(`0@,System.Byte[],System.Int32,System.Int32)">
  243. <inheritdoc />
  244. </member>
  245. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1.WriteAsync(`0,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  246. <inheritdoc />
  247. </member>
  248. <member name="P:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1.CanFlush">
  249. <inheritdoc />
  250. </member>
  251. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1.Flush(`0@)">
  252. <inheritdoc />
  253. </member>
  254. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1.FlushAsync(`0,System.Threading.CancellationToken)">
  255. <inheritdoc />
  256. </member>
  257. <member name="T:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryReadAdapter">
  258. <summary>
  259. Stream adapter for <see cref="T:System.ReadOnlyMemory`1"/> and <see cref="T:System.Memory`1"/>.
  260. This class implements <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1"/> for <see cref="T:System.Memory`1"/>
  261. but should be used only in some niche situations, as it is not easy to find out
  262. how many bytes has been written, use <see cref="T:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1"/>
  263. instead.
  264. Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
  265. pubternal - exposed as public but still very likely to change.
  266. </summary>
  267. </member>
  268. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryReadAdapter.#ctor(System.ReadOnlyMemory{System.Byte})">
  269. <summary>
  270. </summary>
  271. <param name="memory"></param>
  272. </member>
  273. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryReadAdapter.CopyToBuffer(System.Int32,System.Byte[],System.Int32,System.Int32)">
  274. <summary>
  275. Copies bytes from span to buffer. Performs all length checks.
  276. </summary>
  277. <param name="head">Head offset of <see cref="T:System.ReadOnlyMemory`1"/>.</param>
  278. <param name="buffer">Target buffer.</param>
  279. <param name="offset">Offset in target buffer.</param>
  280. <param name="length">Number of bytes to copy.</param>
  281. <returns>Number of bytes actually copied.</returns>
  282. </member>
  283. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryReadAdapter.Read(System.Int32@,System.Byte[],System.Int32,System.Int32)">
  284. <inheritdoc />
  285. </member>
  286. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryReadAdapter.ReadAsync(System.Int32,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  287. <inheritdoc />
  288. </member>
  289. <member name="T:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter">
  290. <summary>
  291. Stream adapter for <see cref="T:System.ReadOnlyMemory`1"/> and <see cref="T:System.Memory`1"/>.
  292. This class implements <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1"/> for <see cref="T:System.Memory`1"/>
  293. but should be used only in some niche situations, as it is not easy to find out
  294. how many bytes has been written, use <see cref="T:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1"/>
  295. instead.
  296. Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
  297. pubternal - exposed as public but still very likely to change.
  298. </summary>
  299. </member>
  300. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.#ctor(System.Memory{System.Byte})">
  301. <summary>
  302. Initializes a new instance of the <see cref="T:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter"/> class.
  303. </summary>
  304. <param name="memory">Memory buffer.</param>
  305. </member>
  306. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.Write(System.Int32@,System.Byte[],System.Int32,System.Int32)">
  307. <inheritdoc />
  308. </member>
  309. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.WriteAsync(System.Int32,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  310. <inheritdoc />
  311. </member>
  312. <member name="P:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.CanFlush">
  313. <inheritdoc />
  314. </member>
  315. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.Flush(System.Int32@)">
  316. <inheritdoc />
  317. </member>
  318. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.FlushAsync(System.Int32,System.Threading.CancellationToken)">
  319. <inheritdoc />
  320. </member>
  321. <member name="T:K4os.Compression.LZ4.Streams.Adapters.ByteSequenceAdapter">
  322. <summary>
  323. Naive and simplistic implementation of adapter for <see cref="T:System.Buffers.ReadOnlySequence`1"/>.
  324. It might be improved in many ways I believe, but it gives some starting point.
  325. Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
  326. pubternal - exposed as public but still very likely to change.
  327. </summary>
  328. </member>
  329. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSequenceAdapter.Read(System.Buffers.ReadOnlySequence{System.Byte}@,System.Byte[],System.Int32,System.Int32)">
  330. <inheritdoc />
  331. </member>
  332. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSequenceAdapter.ReadAsync(System.Buffers.ReadOnlySequence{System.Byte},System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  333. <inheritdoc />
  334. </member>
  335. <member name="T:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter">
  336. <summary>
  337. LZ4 stream reader/writer adapter for <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/>.
  338. </summary>
  339. </member>
  340. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.#ctor(K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan)">
  341. <summary>
  342. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter"/>.
  343. </summary>
  344. <param name="span">Memory span.</param>
  345. </member>
  346. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.Read(System.Int32@,System.Byte[],System.Int32,System.Int32)">
  347. <inheritdoc />
  348. </member>
  349. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.ReadAsync(System.Int32,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  350. <inheritdoc />
  351. </member>
  352. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.Write(System.Int32@,System.Byte[],System.Int32,System.Int32)">
  353. <inheritdoc />
  354. </member>
  355. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.WriteAsync(System.Int32,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  356. <inheritdoc />
  357. </member>
  358. <member name="P:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.CanFlush">
  359. <inheritdoc />
  360. </member>
  361. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.Flush(System.Int32@)">
  362. <inheritdoc />
  363. </member>
  364. <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.FlushAsync(System.Int32,System.Threading.CancellationToken)">
  365. <inheritdoc />
  366. </member>
  367. <member name="T:K4os.Compression.LZ4.Streams.Adapters.EmptyState">
  368. <summary>
  369. Empty record equivalent to Unit/Void.
  370. Works as placeholder type used when working with generic interfaces which do require type,
  371. but implementation needs none.
  372. Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
  373. pubternal - exposed as public but still very likely to change.
  374. </summary>
  375. </member>
  376. <member name="T:K4os.Compression.LZ4.Streams.Adapters.PipeReaderAdapter">
  377. <summary>
  378. Stream adapter for <see cref="T:System.IO.Pipelines.PipeReader"/>.
  379. Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
  380. pubternal - exposed as public but still very likely to change.
  381. </summary>
  382. </member>
  383. <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeReaderAdapter.#ctor(System.IO.Pipelines.PipeReader)">
  384. <summary>
  385. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Adapters.PipeReaderAdapter"/>.
  386. </summary>
  387. <param name="reader">Pipe reader.</param>
  388. </member>
  389. <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeReaderAdapter.Read(K4os.Compression.LZ4.Streams.Adapters.EmptyState@,System.Byte[],System.Int32,System.Int32)">
  390. <inheritdoc />
  391. </member>
  392. <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeReaderAdapter.ReadAsync(K4os.Compression.LZ4.Streams.Adapters.EmptyState,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  393. <inheritdoc />
  394. </member>
  395. <member name="T:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter">
  396. <summary>
  397. LZ4 stream adapter for <see cref="T:System.IO.Pipelines.PipeReader"/>.
  398. Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
  399. pubternal - exposed as public but still very likely to change.
  400. </summary>
  401. </member>
  402. <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.#ctor(System.IO.Pipelines.PipeWriter)">
  403. <summary>
  404. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter"/>.
  405. </summary>
  406. <param name="writer">Pipe writer.</param>
  407. </member>
  408. <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.Write(K4os.Compression.LZ4.Streams.Adapters.EmptyState@,System.Byte[],System.Int32,System.Int32)">
  409. <inheritdoc />
  410. </member>
  411. <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.WriteAsync(K4os.Compression.LZ4.Streams.Adapters.EmptyState,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  412. <inheritdoc />
  413. </member>
  414. <member name="P:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.CanFlush">
  415. <inheritdoc />
  416. </member>
  417. <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.Flush(K4os.Compression.LZ4.Streams.Adapters.EmptyState@)">
  418. <inheritdoc />
  419. </member>
  420. <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.FlushAsync(K4os.Compression.LZ4.Streams.Adapters.EmptyState,System.Threading.CancellationToken)">
  421. <inheritdoc />
  422. </member>
  423. <member name="T:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter">
  424. <summary>
  425. LZ4 stream reader/writer adapter for <see cref="T:System.IO.Stream"/>.
  426. Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
  427. pubternal - exposed as public but still very likely to change.
  428. </summary>
  429. </member>
  430. <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.#ctor(System.IO.Stream)">
  431. <summary>
  432. Creates new stream adapter for
  433. </summary>
  434. <param name="stream"></param>
  435. </member>
  436. <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.Read(K4os.Compression.LZ4.Streams.Adapters.EmptyState@,System.Byte[],System.Int32,System.Int32)">
  437. <inheritdoc />
  438. </member>
  439. <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.ReadAsync(K4os.Compression.LZ4.Streams.Adapters.EmptyState,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  440. <inheritdoc />
  441. </member>
  442. <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.Write(K4os.Compression.LZ4.Streams.Adapters.EmptyState@,System.Byte[],System.Int32,System.Int32)">
  443. <inheritdoc />
  444. </member>
  445. <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.WriteAsync(K4os.Compression.LZ4.Streams.Adapters.EmptyState,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  446. <inheritdoc />
  447. </member>
  448. <member name="P:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.CanFlush">
  449. <inheritdoc />
  450. </member>
  451. <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.Flush(K4os.Compression.LZ4.Streams.Adapters.EmptyState@)">
  452. <inheritdoc />
  453. </member>
  454. <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.FlushAsync(K4os.Compression.LZ4.Streams.Adapters.EmptyState,System.Threading.CancellationToken)">
  455. <inheritdoc />
  456. </member>
  457. <member name="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan">
  458. <summary>
  459. Unsafe version of <see cref="T:System.Span`1"/>. It is unsafe as it stores raw memory pointer
  460. so memory it points to must be pinned. It allows reading and writing straight to
  461. unmanaged memory but must be used carefully.
  462. NOTE: If you don't understand what has been said above - don't use it. Misuse of this
  463. struct may lead to unpredictable errors and memory corruption.
  464. </summary>
  465. </member>
  466. <member name="P:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan.Bytes">
  467. <summary>Pointer to the first byte of the span.</summary>
  468. </member>
  469. <member name="P:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan.Length">
  470. <summary>Length of the span in bytes.</summary>
  471. </member>
  472. <member name="M:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan.#ctor(System.Void*,System.Int32)">
  473. <summary>
  474. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/> from given pointer and length.
  475. </summary>
  476. <param name="bytes">Pointer to the first byte of the span.</param>
  477. <param name="length">Length of the span in bytes.</param>
  478. </member>
  479. <member name="M:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan.Create(System.Void*,System.Int32)">
  480. <summary>
  481. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/> from raw pointer.
  482. </summary>
  483. <param name="bytes">Pointer block of bytes.</param>
  484. <param name="length">Length of the block.</param>
  485. <returns>New <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/>.</returns>
  486. </member>
  487. <member name="P:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan.Span">
  488. <summary>
  489. Converted to <see cref="T:System.Span`1"/>.
  490. </summary>
  491. </member>
  492. <member name="T:K4os.Compression.LZ4.Streams.Extensions">
  493. <summary>
  494. Utility methods for LZ4 streams.
  495. </summary>
  496. </member>
  497. <member name="M:K4os.Compression.LZ4.Streams.Extensions.CreateEncoder(K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.LZ4Level,System.Int32)">
  498. <summary>
  499. Creates <see cref="T:K4os.Compression.LZ4.Encoders.ILZ4Encoder"/> using <see cref="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor"/>.
  500. </summary>
  501. <param name="descriptor">LZ4 descriptor.</param>
  502. <param name="level">Compression level.</param>
  503. <param name="extraMemory">Additional memory for encoder.</param>
  504. <returns>Encoder.</returns>
  505. </member>
  506. <member name="M:K4os.Compression.LZ4.Streams.Extensions.CreateEncoder(K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  507. <summary>
  508. Creates <see cref="T:K4os.Compression.LZ4.Encoders.ILZ4Encoder"/> using <see cref="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor"/> and <see cref="T:K4os.Compression.LZ4.Streams.LZ4EncoderSettings"/>.
  509. </summary>
  510. <param name="descriptor">LZ4 descriptor.</param>
  511. <param name="settings">Encoder settings.</param>
  512. <returns>Encoder.</returns>
  513. </member>
  514. <member name="M:K4os.Compression.LZ4.Streams.Extensions.CreateDecoder(K4os.Compression.LZ4.Streams.ILZ4Descriptor,System.Int32)">
  515. <summary>
  516. Create <see cref="T:K4os.Compression.LZ4.Encoders.ILZ4Decoder"/> using <see cref="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor"/>.
  517. </summary>
  518. <param name="descriptor">Descriptor.</param>
  519. <param name="extraMemory">Extra memory (may improves speed, but creates memory pressure).</param>
  520. <returns><see cref="T:K4os.Compression.LZ4.Encoders.ILZ4Decoder"/>.</returns>
  521. </member>
  522. <member name="M:K4os.Compression.LZ4.Streams.Extensions.CreateDecoder(K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Streams.LZ4DecoderSettings)">
  523. <summary>
  524. Create <see cref="T:K4os.Compression.LZ4.Encoders.ILZ4Decoder"/> using <see cref="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor"/> and <see cref="T:K4os.Compression.LZ4.Streams.LZ4DecoderSettings"/>.
  525. </summary>
  526. <param name="descriptor">Descriptor.</param>
  527. <param name="settings">Settings.</param>
  528. <returns><see cref="T:K4os.Compression.LZ4.Encoders.ILZ4Decoder"/>.</returns>
  529. </member>
  530. <member name="M:K4os.Compression.LZ4.Streams.Extensions.CreateDescriptor(K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  531. <summary>
  532. Creates <see cref="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor"/> from <see cref="T:K4os.Compression.LZ4.Streams.LZ4DecoderSettings"/>.
  533. </summary>
  534. <param name="settings">Settings.</param>
  535. <returns>LZ4 Descriptor.</returns>
  536. </member>
  537. <member name="M:K4os.Compression.LZ4.Streams.Extensions.OpenFrameAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader)">
  538. <summary>Async version of <see cref="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.OpenFrame"/>.</summary>
  539. <param name="reader">Decoder.</param>
  540. <returns><c>true</c> if frame was just opened,
  541. <c>false</c> if it was opened before.</returns>
  542. </member>
  543. <member name="M:K4os.Compression.LZ4.Streams.Extensions.GetFrameLengthAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader)">
  544. <summary>Async version of <see cref="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.GetFrameLength"/>.</summary>
  545. <param name="reader">Decoder.</param>
  546. <returns>Frame length, or <c>null</c></returns>
  547. </member>
  548. <member name="M:K4os.Compression.LZ4.Streams.Extensions.ReadOneByteAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader)">
  549. <summary>Reads one byte from LZ4 stream.</summary>
  550. <param name="reader">Decoder.</param>
  551. <returns>A byte, or -1 if end of stream.</returns>
  552. </member>
  553. <member name="M:K4os.Compression.LZ4.Streams.Extensions.ReadManyBytesAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader,System.Memory{System.Byte},System.Boolean)">
  554. <summary>Reads many bytes from LZ4 stream. Return number of bytes actually read.</summary>
  555. <param name="reader">Decoder.</param>
  556. <param name="buffer">Byte buffer to read into.</param>
  557. <param name="interactive">if <c>true</c> then returns as soon as some bytes are read,
  558. if <c>false</c> then waits for all bytes being read or end of stream.</param>
  559. <returns>Number of bytes actually read.
  560. <c>0</c> means that end of stream has been reached.</returns>
  561. </member>
  562. <member name="M:K4os.Compression.LZ4.Streams.Extensions.OpenFrameAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter)">
  563. <summary>
  564. Opens a stream by reading frame header. Please note, this methods can be called explicitly
  565. but does not need to be called, it will be called automatically if needed.
  566. </summary>
  567. <param name="writer">Encoder.</param>
  568. <returns><c>true</c> if frame has been opened, or <c>false</c> if it was opened before.</returns>
  569. </member>
  570. <member name="M:K4os.Compression.LZ4.Streams.Extensions.WriteOneByteAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.Byte)">
  571. <summary>Writes one byte to stream.</summary>
  572. <param name="writer">Encoder.</param>
  573. <param name="value">Byte to be written.</param>
  574. </member>
  575. <member name="M:K4os.Compression.LZ4.Streams.Extensions.WriteManyBytesAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.ReadOnlyMemory{System.Byte})">
  576. <summary>Writes multiple bytes to stream.</summary>
  577. <param name="writer">Encoder.</param>
  578. <param name="buffer">Byte buffer.</param>
  579. </member>
  580. <member name="M:K4os.Compression.LZ4.Streams.Extensions.CloseFrameAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter)">
  581. <summary>
  582. Closes frame. Frame needs to be closed for stream to by valid, although
  583. this methods does not need to be called explicitly if stream is properly dispose.
  584. </summary>
  585. <param name="writer">Encoder.</param>
  586. </member>
  587. <member name="M:K4os.Compression.LZ4.Streams.Extensions.CopyTo``1(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader,``0,System.Int32)">
  588. <summary>
  589. Copies all bytes from <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> into <see cref="T:System.Buffers.IBufferWriter`1"/>.
  590. </summary>
  591. <param name="source">Frame reader.</param>
  592. <param name="target">Buffer writer.</param>
  593. <param name="blockSize">Chunk size.</param>
  594. <typeparam name="TBufferWriter">Type of buffer writer.</typeparam>
  595. </member>
  596. <member name="M:K4os.Compression.LZ4.Streams.Extensions.CopyToAsync``1(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader,``0,System.Int32)">
  597. <summary>
  598. Copies all bytes from <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> into <see cref="T:System.Buffers.IBufferWriter`1"/>.
  599. </summary>
  600. <param name="source">LZ4 frame reader.</param>
  601. <param name="target">Buffer writer.</param>
  602. <param name="blockSize">Chunk size.</param>
  603. <typeparam name="TBufferWriter">Type of buffer writer.</typeparam>
  604. </member>
  605. <member name="M:K4os.Compression.LZ4.Streams.Extensions.CopyFrom(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.Buffers.ReadOnlySequence{System.Byte})">
  606. <summary>
  607. Copies all bytes from <see cref="T:System.Buffers.ReadOnlySequence`1"/> into <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/>.
  608. </summary>
  609. <param name="target">Frame writer.</param>
  610. <param name="source">Sequence of bytes.</param>
  611. </member>
  612. <member name="M:K4os.Compression.LZ4.Streams.Extensions.CopyFromAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.Buffers.ReadOnlySequence{System.Byte})">
  613. <summary>
  614. Copies all bytes from <see cref="T:System.Buffers.ReadOnlySequence`1"/> into <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/>.
  615. </summary>
  616. <param name="target">Frame writer.</param>
  617. <param name="source">Sequence of bytes.</param>
  618. </member>
  619. <member name="M:K4os.Compression.LZ4.Streams.Extensions.AsStream(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader,System.Boolean,System.Boolean)">
  620. <summary>
  621. Wraps <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> as <see cref="T:System.IO.Stream"/>.
  622. </summary>
  623. <param name="reader">LZ4 frame reader.</param>
  624. <param name="leaveOpen">Indicates that frame reader should be left open even if stream is
  625. disposed.</param>
  626. <param name="interactive">Indicates that data should be provided to reader as quick as
  627. possible, instead of waiting for whole block to be read.</param>
  628. <returns><see cref="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream"/> stream wrapper.</returns>
  629. </member>
  630. <member name="M:K4os.Compression.LZ4.Streams.Extensions.AsStream(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.Boolean)">
  631. <summary>
  632. Wraps <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> as <see cref="T:System.IO.Stream"/>.
  633. </summary>
  634. <param name="writer">LZ4 frame writer.</param>
  635. <param name="leaveOpen">Indicates that frame writer should be left open even if stream is
  636. disposed.</param>
  637. <returns><see cref="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream"/> stream wrapper.</returns>
  638. </member>
  639. <member name="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2">
  640. <summary>
  641. LZ4 Decompression stream handling.
  642. </summary>
  643. </member>
  644. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.#ctor(`0,`1,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Decoder})">
  645. <summary>Creates new instance <see cref="T:K4os.Compression.LZ4.Streams.LZ4DecoderStream"/>.</summary>
  646. <param name="reader">Inner stream.</param>
  647. <param name="stream">Inner stream initial state.</param>
  648. <param name="decoderFactory">Decoder factory.</param>
  649. </member>
  650. <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.StreamState">
  651. <summary>
  652. Exposes internal stream state. Existence of this property is a hack,
  653. and it really shouldn't be here but it is needed for relatively low
  654. level operations (like writing directly to unmanaged memory).
  655. Please, do not use it directly, if don't know what you are doing.
  656. </summary>
  657. </member>
  658. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.CloseFrame">
  659. <inheritdoc />
  660. </member>
  661. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.AllocBuffer(System.Int32)">
  662. <summary>Allocate temporary buffer to store decompressed data.</summary>
  663. <param name="size">Minimum size of the buffer.</param>
  664. <returns>Allocated buffer.</returns>
  665. </member>
  666. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReleaseBuffer(System.Byte[])">
  667. <summary>Releases allocated buffer. <see cref="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.AllocBuffer(System.Int32)"/></summary>
  668. <param name="buffer">Previously allocated buffer.</param>
  669. </member>
  670. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.OpenFrame">
  671. <inheritdoc />
  672. </member>
  673. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.OpenFrameAsync(System.Threading.CancellationToken)">
  674. <inheritdoc />
  675. </member>
  676. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.GetBytesRead">
  677. <inheritdoc />
  678. </member>
  679. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.GetFrameLength">
  680. <inheritdoc />
  681. </member>
  682. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.GetFrameLengthAsync(System.Threading.CancellationToken)">
  683. <inheritdoc />
  684. </member>
  685. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReadOneByte">
  686. <inheritdoc />
  687. </member>
  688. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReadOneByteAsync(System.Threading.CancellationToken)">
  689. <inheritdoc />
  690. </member>
  691. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReadManyBytes(System.Span{System.Byte},System.Boolean)">
  692. <inheritdoc />
  693. </member>
  694. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReadManyBytesAsync(System.Threading.CancellationToken,System.Memory{System.Byte},System.Boolean)">
  695. <inheritdoc />
  696. </member>
  697. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.Dispose(System.Boolean)">
  698. <summary>
  699. Disposes the decoder. Consecutive attempts to read will fail.
  700. </summary>
  701. <param name="disposing"><c>true</c> is stream is being disposed by user,
  702. <c>true</c> is by garbage collector.</param>
  703. </member>
  704. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReleaseResources">
  705. <summary>
  706. Releases unmanaged resources.
  707. </summary>
  708. </member>
  709. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReleaseResourcesAsync">
  710. <summary>
  711. Releases unmanaged resources.
  712. </summary>
  713. <returns>Task indicating operation is finished.</returns>
  714. </member>
  715. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.Dispose">
  716. <inheritdoc />
  717. </member>
  718. <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameReader">
  719. <summary>
  720. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> implementation for <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/>.
  721. </summary>
  722. </member>
  723. <member name="M:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameReader.#ctor(K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Decoder})">
  724. <summary>
  725. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameReader"/>.
  726. </summary>
  727. <param name="span">Bytes span.</param>
  728. <param name="decoderFactory">LZ4 decoder factory.</param>
  729. </member>
  730. <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameReader">
  731. <summary>
  732. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> implementation for <see cref="T:System.ReadOnlyMemory`1"/>.
  733. </summary>
  734. </member>
  735. <member name="M:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameReader.#ctor(System.ReadOnlyMemory{System.Byte},System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Decoder})">
  736. <summary>
  737. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameReader"/>.
  738. </summary>
  739. <param name="memory">Memory buffer.</param>
  740. <param name="decoderFactory">LZ4 decoder factory.</param>
  741. </member>
  742. <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteSequenceLZ4FrameReader">
  743. <summary>
  744. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> implementation for <see cref="T:System.Buffers.ReadOnlySequence`1"/>.
  745. </summary>
  746. </member>
  747. <member name="M:K4os.Compression.LZ4.Streams.Frames.ByteSequenceLZ4FrameReader.#ctor(System.Buffers.ReadOnlySequence{System.Byte},System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Decoder})">
  748. <summary>
  749. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteSequenceLZ4FrameReader"/>.
  750. </summary>
  751. <param name="sequence">Byte sequence.</param>
  752. <param name="decoderFactory">LZ4 decoder factory.</param>
  753. </member>
  754. <member name="T:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameReader">
  755. <summary>
  756. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> implementation for <see cref="T:System.IO.Stream"/>.
  757. </summary>
  758. </member>
  759. <member name="M:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameReader.#ctor(System.IO.Stream,System.Boolean,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Decoder})">
  760. <summary>
  761. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameReader"/>.
  762. </summary>
  763. <param name="stream">Stream to read from.</param>
  764. <param name="leaveOpen">Leave stream open after reader is disposed.</param>
  765. <param name="decoderFactory">LZ4 decoder factory.</param>
  766. </member>
  767. <member name="M:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameReader.Dispose(System.Boolean)">
  768. <summary>
  769. Disposes the reader.
  770. </summary>
  771. <param name="disposing"><c>true</c> if user is disposing it; <c>false</c> if it has been triggered by garbage collector</param>
  772. </member>
  773. <member name="T:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameReader">
  774. <summary>
  775. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> implementation for <see cref="T:System.IO.Pipelines.PipeReader"/>.
  776. </summary>
  777. </member>
  778. <member name="M:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameReader.#ctor(System.IO.Pipelines.PipeReader,System.Boolean,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Decoder})">
  779. <summary>
  780. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameReader"/>.
  781. </summary>
  782. <param name="pipe">Pipe to be read.</param>
  783. <param name="leaveOpen">Leave pipe open after reader is disposed.</param>
  784. <param name="decoderFactory">LZ4 decoder factory.</param>
  785. </member>
  786. <member name="M:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameReader.ReleaseResources">
  787. <inheritdoc />
  788. </member>
  789. <member name="M:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameReader.ReleaseResourcesAsync">
  790. <inheritdoc />
  791. </member>
  792. <member name="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream">
  793. <summary>
  794. <see cref="T:System.IO.Stream"/> wrapper for <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/>.
  795. </summary>
  796. </member>
  797. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.#ctor(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader,System.Boolean,System.Boolean)">
  798. <summary>
  799. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream"/>.
  800. </summary>
  801. <param name="reader">LZ4 frame reader.</param>
  802. <param name="leaveOpen">Leave underlying stream open after disposing this stream.</param>
  803. <param name="interactive">Use interactive mode; return bytes as soon as they available.</param>
  804. </member>
  805. <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.CanRead">
  806. <inheritdoc />
  807. </member>
  808. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.ReadByte">
  809. <inheritdoc />
  810. </member>
  811. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.Read(System.Byte[],System.Int32,System.Int32)">
  812. <inheritdoc />
  813. </member>
  814. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  815. <inheritdoc />
  816. </member>
  817. <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.Length">
  818. <summary>
  819. Length of stream. Please note, this will only work if original LZ4 stream has
  820. <c>ContentLength</c> field set in descriptor. Otherwise returned value will be <c>-1</c>.
  821. It will also require synchronous stream access, so it wont work if AllowSynchronousIO
  822. is <c>false</c>.
  823. </summary>
  824. </member>
  825. <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.Position">
  826. <summary>
  827. Position within the stream. Position can be read, but cannot be set as LZ4 stream does
  828. not have <c>Seek</c> capability.
  829. </summary>
  830. </member>
  831. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.Dispose(System.Boolean)">
  832. <inheritdoc />
  833. </member>
  834. <member name="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2">
  835. <summary>
  836. LZ4 stream encoder.
  837. </summary>
  838. </member>
  839. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.#ctor(`0,`1,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Encoder},K4os.Compression.LZ4.Streams.ILZ4Descriptor)">
  840. <summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4EncoderStream"/>.</summary>
  841. <param name="writer">Inner stream.</param>
  842. <param name="stream">Inner stream initial state.</param>
  843. <param name="encoderFactory">LZ4 Encoder factory.</param>
  844. <param name="descriptor">LZ4 settings.</param>
  845. </member>
  846. <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.StreamState">
  847. <summary>
  848. Exposes internal stream state. Existence of this field is a hack,
  849. and it really shouldn't be here but it is needed for relatively low
  850. level operations (like writing directly to unmanaged memory).
  851. Please, do not use it directly, if don't know what you are doing.
  852. </summary>
  853. </member>
  854. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.AllocateBuffer(System.Int32)">
  855. <summary>Allocate temporary buffer to store decompressed data.</summary>
  856. <param name="size">Minimum size of the buffer.</param>
  857. <returns>Allocated buffer.</returns>
  858. </member>
  859. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.ReleaseBuffer(System.Byte[])">
  860. <summary>Releases allocated buffer. <see cref="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.AllocateBuffer(System.Int32)"/></summary>
  861. <param name="buffer">Previously allocated buffer.</param>
  862. </member>
  863. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.GetBytesWritten">
  864. <inheritdoc />
  865. </member>
  866. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.WriteOneByte(System.Byte)">
  867. <inheritdoc />
  868. </member>
  869. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.WriteOneByteAsync(System.Threading.CancellationToken,System.Byte)">
  870. <inheritdoc />
  871. </member>
  872. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.WriteManyBytes(System.ReadOnlySpan{System.Byte})">
  873. <inheritdoc />
  874. </member>
  875. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.WriteManyBytesAsync(System.Threading.CancellationToken,System.ReadOnlyMemory{System.Byte})">
  876. <inheritdoc />
  877. </member>
  878. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.OpenFrame">
  879. <inheritdoc />
  880. </member>
  881. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.OpenFrameAsync(System.Threading.CancellationToken)">
  882. <inheritdoc />
  883. </member>
  884. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.CloseFrame">
  885. <inheritdoc />
  886. </member>
  887. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.CloseFrameAsync(System.Threading.CancellationToken)">
  888. <inheritdoc />
  889. </member>
  890. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.Dispose(System.Boolean)">
  891. <summary>
  892. Disposes the stream and releases all resources.
  893. </summary>
  894. <param name="disposing"><c>true</c> if called by user; <c>false</c> when called by garbag collector.</param>
  895. </member>
  896. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.Dispose">
  897. <inheritdoc />
  898. </member>
  899. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.ReleaseResources">
  900. <summary>
  901. Releases all unmanaged resources.
  902. </summary>
  903. </member>
  904. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.ReleaseResourcesAsync">
  905. <summary>
  906. Releases all unmanaged resources.
  907. </summary>
  908. <returns>Task indicating completion of the operation.</returns>
  909. </member>
  910. <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter`1">
  911. <summary>
  912. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:System.Buffers.IBufferWriter`1"/>
  913. </summary>
  914. <typeparam name="TBufferWriter">Type of buffer writer.</typeparam>
  915. </member>
  916. <member name="M:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter`1.#ctor(`0,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Encoder},K4os.Compression.LZ4.Streams.ILZ4Descriptor)">
  917. <summary>
  918. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter`1"/>.
  919. </summary>
  920. <param name="stream">Buffer writer to write to.</param>
  921. <param name="encoderFactory">Encoder factory.</param>
  922. <param name="descriptor">Frame descriptor.</param>
  923. </member>
  924. <member name="P:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter`1.BufferWriter">
  925. <summary>Current state of buffer writer.</summary>
  926. </member>
  927. <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter">
  928. <summary>
  929. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:System.Buffers.IBufferWriter`1"/>
  930. </summary>
  931. </member>
  932. <member name="M:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter.#ctor(System.Buffers.IBufferWriter{System.Byte},System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Encoder},K4os.Compression.LZ4.Streams.ILZ4Descriptor)">
  933. <summary>
  934. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter"/>.
  935. </summary>
  936. <param name="stream">Buffer writer to write to.</param>
  937. <param name="encoderFactory">Encoder factory.</param>
  938. <param name="descriptor">Frame descriptor.</param>
  939. </member>
  940. <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameWriter">
  941. <summary>
  942. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:System.Memory`1"/>
  943. </summary>
  944. </member>
  945. <member name="M:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameWriter.#ctor(System.Memory{System.Byte},System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Encoder},K4os.Compression.LZ4.Streams.ILZ4Descriptor)">
  946. <summary>
  947. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameWriter"/>.
  948. </summary>
  949. <param name="memory">Memory block where data will be written.</param>
  950. <param name="encoderFactory">Encoder factory.</param>
  951. <param name="descriptor">Frame descriptor.</param>
  952. </member>
  953. <member name="P:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameWriter.CompressedLength">
  954. <summary>Number of bytes written to the memory.</summary>
  955. </member>
  956. <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameWriter">
  957. <summary>
  958. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/>.
  959. <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/> is a wrapper around <see cref="T:System.Span`1"/> that
  960. can be stored in a field. Please note: it makes it unsafe and address needs to be pinned,
  961. one way or another.
  962. </summary>
  963. </member>
  964. <member name="M:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameWriter.#ctor(K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Encoder},K4os.Compression.LZ4.Streams.ILZ4Descriptor)">
  965. <summary>
  966. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameWriter"/>.
  967. </summary>
  968. <param name="span">Span to write to.</param>
  969. <param name="encoderFactory">Encoder factory.</param>
  970. <param name="descriptor">Frame descriptor.</param>
  971. </member>
  972. <member name="P:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameWriter.CompressedLength">
  973. <summary>Number of bytes written to the memory.</summary>
  974. </member>
  975. <member name="T:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameWriter">
  976. <summary>
  977. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:System.IO.Stream"/>.
  978. </summary>
  979. </member>
  980. <member name="M:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameWriter.#ctor(System.IO.Stream,System.Boolean,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Encoder},K4os.Compression.LZ4.Streams.ILZ4Descriptor)">
  981. <summary>
  982. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameWriter"/>.
  983. </summary>
  984. <param name="stream">Stream to write to.</param>
  985. <param name="leaveOpen">Leave stream open after disposing this writer.</param>
  986. <param name="encoderFactory">Encoder factory.</param>
  987. <param name="descriptor">Frame descriptor.</param>
  988. </member>
  989. <member name="M:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameWriter.ReleaseResources">
  990. <inheritdoc />
  991. </member>
  992. <member name="M:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameWriter.ReleaseResourcesAsync">
  993. <inheritdoc />
  994. </member>
  995. <member name="T:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameWriter">
  996. <summary>
  997. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:System.IO.Pipelines.PipeWriter"/>.
  998. </summary>
  999. </member>
  1000. <member name="M:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameWriter.#ctor(System.IO.Pipelines.PipeWriter,System.Boolean,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Encoder},K4os.Compression.LZ4.Streams.ILZ4Descriptor)">
  1001. <summary>
  1002. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameWriter"/>.
  1003. </summary>
  1004. <param name="pipe">Pipe writer to write to.</param>
  1005. <param name="leaveOpen">Leave pipe open after disposing this writer.</param>
  1006. <param name="encoderFactory">Encoder factory.</param>
  1007. <param name="descriptor">Frame descriptor.</param>
  1008. </member>
  1009. <member name="M:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameWriter.ReleaseResources">
  1010. <inheritdoc />
  1011. </member>
  1012. <member name="M:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameWriter.ReleaseResourcesAsync">
  1013. <inheritdoc />
  1014. </member>
  1015. <member name="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream">
  1016. <summary>
  1017. Adapter to make <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> look like <see cref="T:System.IO.Stream"/>.
  1018. </summary>
  1019. </member>
  1020. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.#ctor(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.Boolean)">
  1021. <summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4EncoderStream"/>.</summary>
  1022. <param name="writer">Underlying frame encoder.</param>
  1023. <param name="leaveOpen">Indicates <paramref name="writer"/> should be left
  1024. open after disposing.</param>
  1025. </member>
  1026. <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.CanWrite">
  1027. <inheritdoc />
  1028. </member>
  1029. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.WriteByte(System.Byte)">
  1030. <inheritdoc />
  1031. </member>
  1032. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.Write(System.Byte[],System.Int32,System.Int32)">
  1033. <inheritdoc />
  1034. </member>
  1035. <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  1036. <inheritdoc />
  1037. </member>
  1038. <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.Length">
  1039. <summary>Length of the stream and number of bytes written so far.</summary>
  1040. </member>
  1041. <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.Position">
  1042. <summary>Read-only position in the stream. Trying to set it will throw
  1043. <see cref="T:System.InvalidOperationException"/>.</summary>
  1044. </member>
  1045. <member name="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor">
  1046. <summary>
  1047. LZ4 Frame descriptor.
  1048. </summary>
  1049. </member>
  1050. <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.ContentLength">
  1051. <summary>Content length. Not always known.</summary>
  1052. </member>
  1053. <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.ContentChecksum">
  1054. <summary>Indicates if content checksum is provided.</summary>
  1055. </member>
  1056. <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.Chaining">
  1057. <summary>Indicates if blocks are chained (dependent) or not (independent).</summary>
  1058. </member>
  1059. <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.BlockChecksum">
  1060. <summary>Indicates if block checksums are provided.</summary>
  1061. </member>
  1062. <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.Dictionary">
  1063. <summary>Dictionary id. May be null.</summary>
  1064. </member>
  1065. <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.BlockSize">
  1066. <summary>Block size.</summary>
  1067. </member>
  1068. <member name="T:K4os.Compression.LZ4.Streams.Internal.EmptyToken">
  1069. <summary>
  1070. Completely empty class to do nothing.
  1071. It is used internally instead of CancellationToken to make sure
  1072. blocking operations are easily distinguishable from async ones
  1073. (you cannot call blocking operation by accident as they *require* EmptyToken).
  1074. </summary>
  1075. </member>
  1076. <member name="T:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1">
  1077. <summary>
  1078. Base class for all <see cref="T:System.IO.Stream"/> compatible adapters.
  1079. </summary>
  1080. <typeparam name="T">Type of resource stream adapter if for.</typeparam>
  1081. </member>
  1082. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.#ctor(`0,System.Boolean)">
  1083. <summary>
  1084. Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1"/>.
  1085. </summary>
  1086. <param name="innerResource">Wrapped resource.</param>
  1087. <param name="leaveOpen">Do not dispose inner resource after stream is disposed.</param>
  1088. </member>
  1089. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.InnerResource">
  1090. <summary>Wrapped resource.</summary>
  1091. </member>
  1092. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.CanRead">
  1093. <inheritdoc />
  1094. </member>
  1095. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.CanWrite">
  1096. <inheritdoc />
  1097. </member>
  1098. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.CanTimeout">
  1099. <inheritdoc />
  1100. </member>
  1101. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.ReadTimeout">
  1102. <inheritdoc />
  1103. </member>
  1104. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.WriteTimeout">
  1105. <inheritdoc />
  1106. </member>
  1107. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.CanSeek">
  1108. <inheritdoc />
  1109. </member>
  1110. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Position">
  1111. <inheritdoc />
  1112. </member>
  1113. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Length">
  1114. <inheritdoc />
  1115. </member>
  1116. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Flush">
  1117. <inheritdoc />
  1118. </member>
  1119. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.FlushAsync(System.Threading.CancellationToken)">
  1120. <inheritdoc />
  1121. </member>
  1122. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Seek(System.Int64,System.IO.SeekOrigin)">
  1123. <inheritdoc />
  1124. </member>
  1125. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.SetLength(System.Int64)">
  1126. <inheritdoc />
  1127. </member>
  1128. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.ReadByte">
  1129. <inheritdoc />
  1130. </member>
  1131. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Read(System.Byte[],System.Int32,System.Int32)">
  1132. <inheritdoc />
  1133. </member>
  1134. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  1135. <inheritdoc />
  1136. </member>
  1137. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Dispose(System.Boolean)">
  1138. <inheritdoc />
  1139. </member>
  1140. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.WriteByte(System.Byte)">
  1141. <inheritdoc />
  1142. </member>
  1143. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Write(System.Byte[],System.Int32,System.Int32)">
  1144. <inheritdoc />
  1145. </member>
  1146. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  1147. <inheritdoc />
  1148. </member>
  1149. <member name="T:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials">
  1150. <summary>
  1151. LZ4 stream essentials when wrapping another stream.
  1152. You most likely should not use it but it needs to be public as it is inherited from.
  1153. </summary>
  1154. </member>
  1155. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.CanRead">
  1156. <inheritdoc />
  1157. </member>
  1158. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.CanWrite">
  1159. <inheritdoc />
  1160. </member>
  1161. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.CanTimeout">
  1162. <inheritdoc />
  1163. </member>
  1164. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.ReadTimeout">
  1165. <inheritdoc />
  1166. </member>
  1167. <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.WriteTimeout">
  1168. <inheritdoc />
  1169. </member>
  1170. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.Flush">
  1171. <inheritdoc />
  1172. </member>
  1173. <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.FlushAsync(System.Threading.CancellationToken)">
  1174. <inheritdoc />
  1175. </member>
  1176. <member name="T:K4os.Compression.LZ4.Streams.LZ4DecoderSettings">
  1177. <summary>
  1178. Decoder settings.
  1179. </summary>
  1180. </member>
  1181. <member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderSettings.ExtraMemory">
  1182. <summary>Extra memory for decompression.</summary>
  1183. </member>
  1184. <member name="T:K4os.Compression.LZ4.Streams.LZ4DecoderStream">
  1185. <summary>
  1186. LZ4 frame decoder stream.
  1187. </summary>
  1188. </member>
  1189. <member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.#ctor(System.IO.Stream,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Decoder},System.Boolean,System.Boolean)">
  1190. <summary>
  1191. Creates LZ4 decoder stream.
  1192. </summary>
  1193. <param name="inner">Inner stream, the stream compressed data is coming from..</param>
  1194. <param name="decoderFactory">Decoder factory.</param>
  1195. <param name="leaveOpen">Leave inner stream open after this stream is disposed.</param>
  1196. <param name="interactive">Interactive mode, provide bytes as soon as they are available; don't wait for full block.</param>
  1197. </member>
  1198. <member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.ReadByte">
  1199. <inheritdoc />
  1200. </member>
  1201. <member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Read(System.Byte[],System.Int32,System.Int32)">
  1202. <inheritdoc />
  1203. </member>
  1204. <member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  1205. <inheritdoc />
  1206. </member>
  1207. <member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.CanWrite">
  1208. <inheritdoc />
  1209. </member>
  1210. <member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Length">
  1211. <summary>
  1212. Length of stream. Please note, this will only work if original LZ4 stream has
  1213. <c>ContentLength</c> field set in descriptor. Otherwise returned value will be <c>-1</c>.
  1214. It will also require synchronous stream access, so it wont work if AllowSynchronousIO
  1215. is <c>false</c>.
  1216. </summary>
  1217. </member>
  1218. <member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Position">
  1219. <summary>
  1220. Position within the stream. Position can be read, but cannot be set as LZ4 stream does
  1221. not have <c>Seek</c> capability.
  1222. </summary>
  1223. </member>
  1224. <member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Dispose(System.Boolean)">
  1225. <inheritdoc />
  1226. </member>
  1227. <member name="T:K4os.Compression.LZ4.Streams.LZ4Descriptor">
  1228. <summary>
  1229. LZ4 frame descriptor.
  1230. </summary>
  1231. </member>
  1232. <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.ContentLength">
  1233. <summary>Content length (if available).</summary>
  1234. </member>
  1235. <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.ContentChecksum">
  1236. <summary>Indicates if content checksum if present.</summary>
  1237. </member>
  1238. <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.Chaining">
  1239. <summary>Indicates if blocks are chained.</summary>
  1240. </member>
  1241. <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.BlockChecksum">
  1242. <summary>Indicates if block checksums are present.</summary>
  1243. </member>
  1244. <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.Dictionary">
  1245. <summary>Dictionary id (or null).</summary>
  1246. </member>
  1247. <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.BlockSize">
  1248. <summary>Block size.</summary>
  1249. </member>
  1250. <member name="M:K4os.Compression.LZ4.Streams.LZ4Descriptor.#ctor(System.Nullable{System.Int64},System.Boolean,System.Boolean,System.Boolean,System.Nullable{System.UInt32},System.Int32)">
  1251. <summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4Descriptor"/>.</summary>
  1252. <param name="contentLength">Content length.</param>
  1253. <param name="contentChecksum">Content checksum flag.</param>
  1254. <param name="chaining">Chaining flag.</param>
  1255. <param name="blockChecksum">Block checksum flag.</param>
  1256. <param name="dictionary">Dictionary id.</param>
  1257. <param name="blockSize">Block size.</param>
  1258. </member>
  1259. <member name="M:K4os.Compression.LZ4.Streams.LZ4Descriptor.#ctor(K4os.Compression.LZ4.Streams.ILZ4Descriptor)">
  1260. <summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4Descriptor"/>.</summary>
  1261. <param name="descriptor">Descriptor to copy.</param>
  1262. </member>
  1263. <member name="T:K4os.Compression.LZ4.Streams.LZ4EncoderSettings">
  1264. <summary>
  1265. LZ4 encoder settings.
  1266. </summary>
  1267. </member>
  1268. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ContentLength">
  1269. <summary>
  1270. Content length. It is not enforced, it can be set to any value, but it will be
  1271. written to the stream so it can be used while decoding. If you don't know the length
  1272. just leave default value.
  1273. </summary>
  1274. </member>
  1275. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ChainBlocks">
  1276. <summary>
  1277. Indicates if blocks should be chained (dependent) or not (independent). Dependent blocks
  1278. (with chaining) provide better compression ratio but are a little but slower and take
  1279. more memory.
  1280. </summary>
  1281. </member>
  1282. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.BlockSize">
  1283. <summary>
  1284. Block size. You can use any block size, but default values for LZ4 are 64k, 256k, 1m,
  1285. and 4m. 64k is good enough for dependent blocks, but for independent blocks bigger is
  1286. better.
  1287. </summary>
  1288. </member>
  1289. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ContentChecksum">
  1290. <summary>Indicates is content checksum should be included.</summary>
  1291. </member>
  1292. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.BlockChecksum">
  1293. <summary>Indicates if block checksum should be included.</summary>
  1294. </member>
  1295. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.Dictionary">
  1296. <summary>Dictionary id. Not implemented yet.</summary>
  1297. </member>
  1298. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.CompressionLevel">
  1299. <summary>Compression level.</summary>
  1300. </member>
  1301. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ExtraMemory">
  1302. <summary>Extra memory (for the process, more is usually better).</summary>
  1303. </member>
  1304. <member name="T:K4os.Compression.LZ4.Streams.LZ4EncoderStream">
  1305. <summary>
  1306. LZ4 frame encoder stream.
  1307. </summary>
  1308. </member>
  1309. <member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.#ctor(System.IO.Stream,K4os.Compression.LZ4.Streams.ILZ4Descriptor,System.Func{K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Encoders.ILZ4Encoder},System.Boolean)">
  1310. <summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4EncoderStream"/>.</summary>
  1311. <param name="inner">Inner stream.</param>
  1312. <param name="descriptor">LZ4 Descriptor.</param>
  1313. <param name="encoderFactory">Function which will take descriptor and return
  1314. appropriate encoder.</param>
  1315. <param name="leaveOpen">Indicates if <paramref name="inner"/> stream should be left
  1316. open after disposing.</param>
  1317. </member>
  1318. <member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Dispose(System.Boolean)">
  1319. <inheritdoc />
  1320. </member>
  1321. <member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.WriteByte(System.Byte)">
  1322. <inheritdoc />
  1323. </member>
  1324. <member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Write(System.Byte[],System.Int32,System.Int32)">
  1325. <inheritdoc />
  1326. </member>
  1327. <member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
  1328. <inheritdoc />
  1329. </member>
  1330. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.CanRead">
  1331. <inheritdoc />
  1332. </member>
  1333. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Length">
  1334. <summary>Length of the stream and number of bytes written so far.</summary>
  1335. </member>
  1336. <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Position">
  1337. <summary>Read-only position in the stream. Trying to set it will throw
  1338. <see cref="T:System.InvalidOperationException"/>.</summary>
  1339. </member>
  1340. <member name="T:K4os.Compression.LZ4.Streams.LZ4Frame">
  1341. <summary>
  1342. LZ4 factory methods to encode/decode anything which can be represented as a stream-like object.
  1343. Please note, to avoid all the complexity of dealing with streams, it uses
  1344. <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> and <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> as stream abstractions.
  1345. </summary>
  1346. </member>
  1347. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Decode``1(System.ReadOnlySpan{System.Byte},``0,System.Int32)">
  1348. <summary>Creates decompression stream on top of inner stream.</summary>
  1349. <param name="source">Span to read from.</param>
  1350. <param name="target">Buffer to write to.</param>
  1351. <param name="extraMemory">Extra memory used for decompression.</param>
  1352. </member>
  1353. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Decode(System.ReadOnlyMemory{System.Byte},System.Int32)">
  1354. <summary>Creates decompression stream on top of inner stream.</summary>
  1355. <param name="memory">Stream to be decoded.</param>
  1356. <param name="extraMemory">Extra memory used for decompression.</param>
  1357. <returns>Decompression stream.</returns>
  1358. </member>
  1359. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Decode(System.Buffers.ReadOnlySequence{System.Byte},System.Int32)">
  1360. <summary>Creates decompression stream on top of inner stream.</summary>
  1361. <param name="sequence">Stream to be decoded.</param>
  1362. <param name="extraMemory">Extra memory used for decompression.</param>
  1363. <returns>Decompression stream.</returns>
  1364. </member>
  1365. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Decode(System.IO.Stream,System.Int32,System.Boolean)">
  1366. <summary>Creates decompression stream on top of inner stream.</summary>
  1367. <param name="stream">Stream to be decoded.</param>
  1368. <param name="extraMemory">Extra memory used for decompression.</param>
  1369. <param name="leaveOpen">Indicates if stream should stay open after disposing decoder.</param>
  1370. <returns>Decompression stream.</returns>
  1371. </member>
  1372. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Decode(System.IO.Pipelines.PipeReader,System.Int32,System.Boolean)">
  1373. <summary>Creates decompression stream on top of inner stream.</summary>
  1374. <param name="reader">Stream to be decoded.</param>
  1375. <param name="extraMemory">Extra memory used for decompression.</param>
  1376. <param name="leaveOpen">Indicates if stream should stay open after disposing decoder.</param>
  1377. <returns>Decompression stream.</returns>
  1378. </member>
  1379. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(System.Buffers.ReadOnlySequence{System.Byte},``0,K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  1380. <summary>
  1381. Compresses source bytes into target buffer. Returns number of bytes actually written.
  1382. </summary>
  1383. <param name="source">Source bytes.</param>
  1384. <param name="target">Target buffer.</param>
  1385. <param name="settings">Compression settings.</param>
  1386. <returns>Number of bytes actually written.</returns>
  1387. </member>
  1388. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(System.ReadOnlySpan{System.Byte},``0,K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  1389. <summary>
  1390. Compresses source bytes into target buffer. Returns number of bytes actually written.
  1391. </summary>
  1392. <param name="source">Source bytes.</param>
  1393. <param name="target">Target buffer.</param>
  1394. <param name="settings">Compression settings.</param>
  1395. <returns>Number of bytes actually written.</returns>
  1396. </member>
  1397. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(System.Buffers.ReadOnlySequence{System.Byte},``0,K4os.Compression.LZ4.LZ4Level,System.Int32)">
  1398. <summary>
  1399. Compresses source bytes into target buffer. Returns number of bytes actually written.
  1400. </summary>
  1401. <param name="source">Source bytes.</param>
  1402. <param name="target">Target buffer.</param>
  1403. <param name="level">Compression level.</param>
  1404. <param name="extraMemory">Extra memory.</param>
  1405. <returns>Number of bytes actually written.</returns>
  1406. </member>
  1407. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(System.ReadOnlySpan{System.Byte},``0,K4os.Compression.LZ4.LZ4Level,System.Int32)">
  1408. <summary>
  1409. Compresses source bytes into target buffer. Returns number of bytes actually written.
  1410. </summary>
  1411. <param name="source">Source bytes.</param>
  1412. <param name="target">Target buffer.</param>
  1413. <param name="level">Compression level.</param>
  1414. <param name="extraMemory">Extra memory.</param>
  1415. <returns>Number of bytes actually written.</returns>
  1416. </member>
  1417. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Buffers.ReadOnlySequence{System.Byte},System.Span{System.Byte},K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  1418. <summary>
  1419. Compresses source bytes into target buffer. Returns number of bytes actually written.
  1420. </summary>
  1421. <param name="source">Source bytes.</param>
  1422. <param name="target">Target buffer.</param>
  1423. <param name="settings">Compression settings.</param>
  1424. <returns>Number of bytes actually written.</returns>
  1425. </member>
  1426. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Span{System.Byte},System.Span{System.Byte},K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  1427. <summary>
  1428. Compresses source bytes into target buffer. Returns number of bytes actually written.
  1429. </summary>
  1430. <param name="source">Source bytes.</param>
  1431. <param name="target">Target buffer.</param>
  1432. <param name="settings">Compression settings.</param>
  1433. <returns>Number of bytes actually written.</returns>
  1434. </member>
  1435. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Action{K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter},System.Span{System.Byte},K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  1436. <summary>
  1437. Writes bytes into target buffer. Returns number of bytes actually written.
  1438. </summary>
  1439. <param name="source">Source of bytes, a function which write to LZ4 encoder.</param>
  1440. <param name="target">Target buffer.</param>
  1441. <param name="settings">Compression settings.</param>
  1442. <returns>Number of bytes actually written.</returns>
  1443. </member>
  1444. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Buffers.ReadOnlySequence{System.Byte},System.Span{System.Byte},K4os.Compression.LZ4.LZ4Level,System.Int32)">
  1445. <summary>
  1446. Compresses source bytes into target buffer. Returns number of bytes actually written.
  1447. </summary>
  1448. <param name="source">Source bytes.</param>
  1449. <param name="target">Target buffer.</param>
  1450. <param name="level">Compression level.</param>
  1451. <param name="extraMemory">Extra memory for encoder.</param>
  1452. <returns>Number of bytes actually written.</returns>
  1453. </member>
  1454. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Span{System.Byte},System.Span{System.Byte},K4os.Compression.LZ4.LZ4Level,System.Int32)">
  1455. <summary>
  1456. Compresses source bytes into target buffer. Returns number of bytes actually written.
  1457. </summary>
  1458. <param name="source">Source bytes.</param>
  1459. <param name="target">Target buffer.</param>
  1460. <param name="level">Compression level.</param>
  1461. <param name="extraMemory">Extra memory for encoder.</param>
  1462. <returns>Number of bytes actually written.</returns>
  1463. </member>
  1464. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Action{K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter},System.Span{System.Byte},K4os.Compression.LZ4.LZ4Level,System.Int32)">
  1465. <summary>
  1466. Compresses source bytes into target buffer. Returns number of bytes actually written.
  1467. </summary>
  1468. <param name="source">Source of bytes, a function which write to LZ4 encoder.</param>
  1469. <param name="target">Target buffer.</param>
  1470. <param name="level">Compression level.</param>
  1471. <param name="extraMemory">Extra memory for encoder.</param>
  1472. <returns>Number of bytes actually written.</returns>
  1473. </member>
  1474. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Byte*,System.Int32,K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  1475. <summary>
  1476. Create LZ4 encoder that writes compressed data into target buffer.
  1477. Please note, target buffer needs to be pinned for the whole time encoder is used.
  1478. This is definitely very unsafe method, and if you don't understand what it does,
  1479. don't use it.
  1480. </summary>
  1481. <param name="target">Pointer to target buffer.</param>
  1482. <param name="length">Length of target buffer.</param>
  1483. <param name="settings">Encoder settings.</param>
  1484. <returns>LZ4 frame writer.</returns>
  1485. </member>
  1486. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level,System.Int32)">
  1487. <summary>
  1488. Create LZ4 encoder that writes compressed data into target buffer.
  1489. Please note, target buffer needs to be pinned for the whole time encoder is used.
  1490. This is definitely very unsafe method, and if you don't understand what it does,
  1491. don't use it.
  1492. </summary>
  1493. <param name="target">Pointer to target buffer.</param>
  1494. <param name="length">Length of target buffer.</param>
  1495. <param name="level">Compression level.</param>
  1496. <param name="extraMemory">Extra memory for encoder.</param>
  1497. <returns>LZ4 frame writer.</returns>
  1498. </member>
  1499. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Memory{System.Byte},K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  1500. <summary>
  1501. Create LZ4 encoder that writes compressed data into target buffer.
  1502. </summary>
  1503. <param name="target">Target buffer.</param>
  1504. <param name="settings">Encoder settings.</param>
  1505. <returns>LZ4 frame writer.</returns>
  1506. </member>
  1507. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Memory{System.Byte},K4os.Compression.LZ4.LZ4Level,System.Int32)">
  1508. <summary>
  1509. Create LZ4 encoder that writes compressed data into target buffer.
  1510. </summary>
  1511. <param name="target">Target buffer.</param>
  1512. <param name="level">Compression level.</param>
  1513. <param name="extraMemory">Extra memory for encoder.</param>
  1514. <returns>LZ4 frame writer.</returns>
  1515. </member>
  1516. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(``0,K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  1517. <summary>
  1518. Create LZ4 encoder that writes compressed data into target buffer.
  1519. </summary>
  1520. <param name="target">Target buffer.</param>
  1521. <param name="settings">Encoder settings.</param>
  1522. <typeparam name="TBufferWriter">Byte of buffer writer implementing <see cref="T:System.Buffers.IBufferWriter`1"/>.</typeparam>
  1523. <returns>LZ4 frame writer.</returns>
  1524. </member>
  1525. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(``0,K4os.Compression.LZ4.LZ4Level,System.Int32)">
  1526. <summary>
  1527. Create LZ4 encoder that writes compressed data into target buffer.
  1528. </summary>
  1529. <param name="target">Target buffer.</param>
  1530. <param name="level">Compression level.</param>
  1531. <param name="extraMemory">Extra memory for encoder.</param>
  1532. <typeparam name="TBufferWriter">Byte of buffer writer implementing <see cref="T:System.Buffers.IBufferWriter`1"/>.</typeparam>
  1533. <returns>LZ4 frame writer.</returns>
  1534. </member>
  1535. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Buffers.IBufferWriter{System.Byte},K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
  1536. <summary>
  1537. Create LZ4 encoder that writes compressed data into target buffer.
  1538. </summary>
  1539. <param name="target">Target buffer.</param>
  1540. <param name="settings">Encoder settings.</param>
  1541. <returns>LZ4 frame writer.</returns>
  1542. </member>
  1543. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Buffers.IBufferWriter{System.Byte},K4os.Compression.LZ4.LZ4Level,System.Int32)">
  1544. <summary>
  1545. Create LZ4 encoder that writes compressed data into target buffer.
  1546. </summary>
  1547. <param name="target">Target buffer.</param>
  1548. <param name="level">Compression level.</param>
  1549. <param name="extraMemory">Extra memory for encoder.</param>
  1550. <returns>LZ4 frame writer.</returns>
  1551. </member>
  1552. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.IO.Stream,K4os.Compression.LZ4.Streams.LZ4EncoderSettings,System.Boolean)">
  1553. <summary>
  1554. Create LZ4 encoder that writes compressed data into target stream.
  1555. </summary>
  1556. <param name="target">Target stream.</param>
  1557. <param name="settings">Encoder settings.</param>
  1558. <param name="leaveOpen">Leave target stream open after encoder is disposed.</param>
  1559. <returns>LZ4 frame writer.</returns>
  1560. </member>
  1561. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.IO.Stream,K4os.Compression.LZ4.LZ4Level,System.Int32,System.Boolean)">
  1562. <summary>
  1563. Create LZ4 encoder that writes compressed data into target stream.
  1564. </summary>
  1565. <param name="target">Target stream.</param>
  1566. <param name="level">Compression level.</param>
  1567. <param name="extraMemory">Extra memory for encoder.</param>
  1568. <param name="leaveOpen">Leave target stream open after encoder is disposed.</param>
  1569. <returns></returns>
  1570. </member>
  1571. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.IO.Pipelines.PipeWriter,K4os.Compression.LZ4.Streams.LZ4EncoderSettings,System.Boolean)">
  1572. <summary>
  1573. Create LZ4 encoder that writes compressed data into target pipe.
  1574. </summary>
  1575. <param name="target">Target pipe.</param>
  1576. <param name="settings">Encoder settings.</param>
  1577. <param name="leaveOpen">Leave target pipe open after encoder is disposed.</param>
  1578. <returns>LZ4 frame writer.</returns>
  1579. </member>
  1580. <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.IO.Pipelines.PipeWriter,K4os.Compression.LZ4.LZ4Level,System.Int32,System.Boolean)">
  1581. <summary>
  1582. Create LZ4 encoder that writes compressed data into target pipe.
  1583. </summary>
  1584. <param name="target">Target pipe.</param>
  1585. <param name="level">Compression level.</param>
  1586. <param name="extraMemory">Extra memory for encoder.</param>
  1587. <param name="leaveOpen">Leave target pipe open after encoder is disposed.</param>
  1588. <returns>LZ4 frame writer.</returns>
  1589. </member>
  1590. <member name="T:K4os.Compression.LZ4.Streams.LZ4Stream">
  1591. <summary>
  1592. Utility class with factory methods to create LZ4 compression and decompression streams.
  1593. </summary>
  1594. </member>
  1595. <member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Encode(System.IO.Stream,K4os.Compression.LZ4.Streams.LZ4EncoderSettings,System.Boolean)">
  1596. <summary>Created compression stream on top of inner stream.</summary>
  1597. <param name="stream">Inner stream.</param>
  1598. <param name="settings">Compression settings.</param>
  1599. <param name="leaveOpen">Leave inner stream open after disposing.</param>
  1600. <returns>Compression stream.</returns>
  1601. </member>
  1602. <member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Encode(System.IO.Stream,K4os.Compression.LZ4.LZ4Level,System.Int32,System.Boolean)">
  1603. <summary>Created compression stream on top of inner stream.</summary>
  1604. <param name="stream">Inner stream.</param>
  1605. <param name="level">Compression level.</param>
  1606. <param name="extraMemory">Extra memory used for compression.</param>
  1607. <param name="leaveOpen">Leave inner stream open after disposing.</param>
  1608. <returns>Compression stream.</returns>
  1609. </member>
  1610. <member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Decode(System.IO.Stream,K4os.Compression.LZ4.Streams.LZ4DecoderSettings,System.Boolean,System.Boolean)">
  1611. <summary>Creates decompression stream on top of inner stream.</summary>
  1612. <param name="stream">Inner stream.</param>
  1613. <param name="settings">Decompression settings.</param>
  1614. <param name="leaveOpen">Leave inner stream open after disposing.</param>
  1615. <param name="interactive">If <c>true</c> reading from stream will be "interactive" allowing
  1616. to read bytes as soon as possible, even if more data is expected.</param>
  1617. <returns>Decompression stream.</returns>
  1618. </member>
  1619. <member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Decode(System.IO.Stream,System.Int32,System.Boolean,System.Boolean)">
  1620. <summary>Creates decompression stream on top of inner stream.</summary>
  1621. <param name="stream">Inner stream.</param>
  1622. <param name="extraMemory">Extra memory used for decompression.</param>
  1623. <param name="leaveOpen">Leave inner stream open after disposing.</param>
  1624. <param name="interactive">If <c>true</c> reading from stream will be "interactive" allowing
  1625. to read bytes as soon as possible, even if more data is expected.</param>
  1626. <returns>Decompression stream.</returns>
  1627. </member>
  1628. </members>
  1629. </doc>