1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630 |
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>K4os.Compression.LZ4.Streams</name>
- </assembly>
- <members>
- <member name="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader">
- <summary>
- Generic interface for frame/stream decoder for LZ4.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.OpenFrame">
- <summary>
- Opens frame for reading. Please note, this method is not needed as it will be
- called automatically, but it can be used to quickly check if frame is valid.
- </summary>
- <returns><c>true</c> if frame was just opened,
- <c>false</c> if it was opened before.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.OpenFrameAsync(System.Threading.CancellationToken)">
- <summary>Async version of <see cref="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.OpenFrame"/>.</summary>
- <param name="token">Cancellation token.</param>
- <returns><c>true</c> if frame was just opened,
- <c>false</c> if it was opened before.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.GetFrameLength">
- <summary>Gets the length of the frame content if it was provided when content was encoded.</summary>
- <returns>Frame length, or <c>null</c></returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.GetFrameLengthAsync(System.Threading.CancellationToken)">
- <summary>Async version of <see cref="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.GetFrameLength"/>.</summary>
- <param name="token">Cancellation token.</param>
- <returns>Frame length, or <c>null</c></returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.ReadOneByte">
- <summary>Reads one byte from LZ4 stream.</summary>
- <returns>A byte, or -1 if end of stream.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.ReadOneByteAsync(System.Threading.CancellationToken)">
- <summary>Reads one byte from LZ4 stream.</summary>
- <param name="token">Cancellation token.</param>
- <returns>A byte, or -1 if end of stream.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.ReadManyBytes(System.Span{System.Byte},System.Boolean)">
- <summary>Reads many bytes from LZ4 stream. Return number of bytes actually read.</summary>
- <param name="buffer">Byte buffer to read into.</param>
- <param name="interactive">if <c>true</c> then returns as soon as some bytes are read,
- if <c>false</c> then waits for all bytes being read or end of stream.</param>
- <returns>Number of bytes actually read.
- <c>0</c> means that end of stream has been reached.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.ReadManyBytesAsync(System.Threading.CancellationToken,System.Memory{System.Byte},System.Boolean)">
- <summary>Reads many bytes from LZ4 stream. Return number of bytes actually read.</summary>
- <param name="token">Cancellation token.</param>
- <param name="buffer">Byte buffer to read into.</param>
- <param name="interactive">if <c>true</c> then returns as soon as some bytes are read,
- if <c>false</c> then waits for all bytes being read or end of stream.</param>
- <returns>Number of bytes actually read.
- <c>0</c> means that end of stream has been reached.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.GetBytesRead">
- <summary>Returns how many bytes in has been read from stream so far.</summary>
- <returns>Number of bytes read in total.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.CloseFrame">
- <summary>Closes the stream, releases allocated memory.</summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter">
- <summary>
- Generic interface for LZ4 frame/stream writer.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.OpenFrame">
- <summary>
- Opens a stream by reading frame header. Please note, this methods can be called explicitly
- but does not need to be called, it will be called automatically if needed.
- </summary>
- <returns><c>true</c> if frame has been opened,
- or <c>false</c> if it was opened before.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.OpenFrameAsync(System.Threading.CancellationToken)">
- <summary>
- Opens a stream by reading frame header. Please note, this methods can be called explicitly
- but does not need to be called, it will be called automatically if needed.
- </summary>
- <param name="token">Cancellation token.</param>
- <returns><c>true</c> if frame has been opened,
- or <c>false</c> if it was opened before.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.WriteOneByte(System.Byte)">
- <summary>Writes one byte to stream.</summary>
- <param name="value">Byte to be written.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.WriteOneByteAsync(System.Threading.CancellationToken,System.Byte)">
- <summary>Writes one byte to stream.</summary>
- <param name="token">Cancellation token.</param>
- <param name="value">Byte to be written.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.WriteManyBytes(System.ReadOnlySpan{System.Byte})">
- <summary>Writes multiple bytes to stream.</summary>
- <param name="buffer">Byte buffer.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.WriteManyBytesAsync(System.Threading.CancellationToken,System.ReadOnlyMemory{System.Byte})">
- <summary>Writes multiple bytes to stream.</summary>
- <param name="token">Cancellation token.</param>
- <param name="buffer">Byte buffer.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.GetBytesWritten">
- <summary>Gets number of bytes written.</summary>
- <returns>Total number of bytes (before compression).</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.CloseFrame">
- <summary>
- Closes frame. Frame needs to be closed for stream to by valid, although
- this methods does not need to be called explicitly if stream is properly dispose.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter.CloseFrameAsync(System.Threading.CancellationToken)">
- <summary>
- Closes frame. Frame needs to be closed for stream to by valid, although
- this methods does not need to be called explicitly if stream is properly dispose.
- </summary>
- <param name="token">Cancellation token.</param>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Abstractions.IStreamReader`1">
- <summary>
- Stream reader interface. It is an adapter for all stream-like structures.
- </summary>
- <typeparam name="TStreamState">Stream state.</typeparam>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamReader`1.Read(`0@,System.Byte[],System.Int32,System.Int32)">
- <summary>
- Reads at-most <paramref name="length"/> bytes from given <paramref name="state"/>.
- </summary>
- <param name="state">Stream state.</param>
- <param name="buffer">Buffer to read bytes into.</param>
- <param name="offset">Offset in buffer.</param>
- <param name="length">Maximum number of bytes to read.</param>
- <returns>Number of bytes actually read.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamReader`1.ReadAsync(`0,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <summary>
- Reads at-most <paramref name="length"/> bytes from given <paramref name="state"/>.
- </summary>
- <param name="state">Stream state.</param>
- <param name="buffer">Buffer to read bytes into.</param>
- <param name="offset">Offset in buffer.</param>
- <param name="length">Maximum number of bytes to read.</param>
- <param name="token">Cancellation token.</param>
- <returns><see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1"/> containing new stream state,
- and number of bytes actually read..</returns>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1">
- <summary>
- Generic stream writer interface.
- When implementing custom compression target or decompression source you need to implement
- this adapter. Please note, that this adapter can be implemented as <c>class</c> or
- <c>readonly struct</c>. If implemented as <c>struct</c> it cannot have mutable state
- as it will be lost. Immutable state is allowed but strongly discouraged.
- Use <typeparamref name="TStreamState"/> instead.
- </summary>
- <typeparam name="TStreamState">Mutable part of stream state.</typeparam>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.CanFlush">
- <summary>Indicates that writer can and should flush after frame.
- Please note, flushing may have negative performance effect but may also lead to
- better interactivity between writer and reader, as reader will get new block
- available as soon as possible.</summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.Write(`0@,System.Byte[],System.Int32,System.Int32)">
- <summary>Writes byte buffer to underlying stream.</summary>
- <param name="state">Stream state.</param>
- <param name="buffer">Byte buffer.</param>
- <param name="offset">Offset within buffer.</param>
- <param name="length">Number of bytes.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.WriteAsync(`0,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <summary>Writes byte buffer to underlying stream.</summary>
- <param name="state">Stream state.</param>
- <param name="buffer">Byte buffer.</param>
- <param name="offset">Offset within buffer.</param>
- <param name="length">Number of bytes.</param>
- <param name="token">Cancellation token.</param>
- <returns>New stream state (mutable part).</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.Flush(`0@)">
- <summary>Flushes buffers to underlying storage. Called only when <see cref="P:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.CanFlush"/></summary>
- <param name="state">Stream state.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.FlushAsync(`0,System.Threading.CancellationToken)">
- <summary>Flushes buffers to underlying storage. Called only when <see cref="P:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1.CanFlush"/></summary>
- <param name="state">Stream state.</param>
- <param name="token">Cancellation token.</param>
- <returns>New stream state (mutable part).</returns>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1">
- <summary>
- Result of async read operation. Returns new state of the stream and number of bytes read.
- </summary>
- <param name="Stream">New stream state.</param>
- <param name="Bytes">Number of bytes read.</param>
- <typeparam name="TStreamState">Stream state.</typeparam>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1.#ctor(`0,System.Int32)">
- <summary>
- Result of async read operation. Returns new state of the stream and number of bytes read.
- </summary>
- <param name="Stream">New stream state.</param>
- <param name="Bytes">Number of bytes read.</param>
- <typeparam name="TStreamState">Stream state.</typeparam>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1.Stream">
- <summary>New stream state.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1.Bytes">
- <summary>Number of bytes read.</summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Abstractions.ReadResult">
- <summary>
- Helper methods to create <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ReadResult`1"/>
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Abstractions.ReadResult.Create``1(``0,System.Int32)">
- <summary>
- Creates read result, composed of new stream state and bytes read.
- </summary>
- <param name="stream">Stream state.</param>
- <param name="bytes">Bytes read.</param>
- <typeparam name="TStreamState">Stream state.</typeparam>
- <returns>Read result.</returns>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1">
- <summary>
- Stream adapter for any class implementing <see cref="T:System.Buffers.IBufferWriter`1"/>.
- It takes actual class, not interface, so it can use struct implementations
- of <see cref="T:System.Buffers.IBufferWriter`1"/> for performance reasons.
- Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
- pubternal - exposed as public but still very likely to change.
- </summary>
- <typeparam name="TBufferWriter">Type implementing <see cref="T:System.Buffers.IBufferWriter`1"/></typeparam>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1.Write(`0@,System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1.WriteAsync(`0,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1.CanFlush">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1.Flush(`0@)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1.FlushAsync(`0,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryReadAdapter">
- <summary>
- Stream adapter for <see cref="T:System.ReadOnlyMemory`1"/> and <see cref="T:System.Memory`1"/>.
- This class implements <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1"/> for <see cref="T:System.Memory`1"/>
- but should be used only in some niche situations, as it is not easy to find out
- how many bytes has been written, use <see cref="T:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1"/>
- instead.
- Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
- pubternal - exposed as public but still very likely to change.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryReadAdapter.#ctor(System.ReadOnlyMemory{System.Byte})">
- <summary>
-
- </summary>
- <param name="memory"></param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryReadAdapter.CopyToBuffer(System.Int32,System.Byte[],System.Int32,System.Int32)">
- <summary>
- Copies bytes from span to buffer. Performs all length checks.
- </summary>
- <param name="head">Head offset of <see cref="T:System.ReadOnlyMemory`1"/>.</param>
- <param name="buffer">Target buffer.</param>
- <param name="offset">Offset in target buffer.</param>
- <param name="length">Number of bytes to copy.</param>
- <returns>Number of bytes actually copied.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryReadAdapter.Read(System.Int32@,System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryReadAdapter.ReadAsync(System.Int32,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter">
- <summary>
- Stream adapter for <see cref="T:System.ReadOnlyMemory`1"/> and <see cref="T:System.Memory`1"/>.
- This class implements <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.IStreamWriter`1"/> for <see cref="T:System.Memory`1"/>
- but should be used only in some niche situations, as it is not easy to find out
- how many bytes has been written, use <see cref="T:K4os.Compression.LZ4.Streams.Adapters.ByteBufferAdapter`1"/>
- instead.
- Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
- pubternal - exposed as public but still very likely to change.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.#ctor(System.Memory{System.Byte})">
- <summary>
- Initializes a new instance of the <see cref="T:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter"/> class.
- </summary>
- <param name="memory">Memory buffer.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.Write(System.Int32@,System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.WriteAsync(System.Int32,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.CanFlush">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.Flush(System.Int32@)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteMemoryWriteAdapter.FlushAsync(System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Adapters.ByteSequenceAdapter">
- <summary>
- Naive and simplistic implementation of adapter for <see cref="T:System.Buffers.ReadOnlySequence`1"/>.
- It might be improved in many ways I believe, but it gives some starting point.
- Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
- pubternal - exposed as public but still very likely to change.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSequenceAdapter.Read(System.Buffers.ReadOnlySequence{System.Byte}@,System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSequenceAdapter.ReadAsync(System.Buffers.ReadOnlySequence{System.Byte},System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter">
- <summary>
- LZ4 stream reader/writer adapter for <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/>.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.#ctor(K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter"/>.
- </summary>
- <param name="span">Memory span.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.Read(System.Int32@,System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.ReadAsync(System.Int32,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.Write(System.Int32@,System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.WriteAsync(System.Int32,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.CanFlush">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.Flush(System.Int32@)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.ByteSpanAdapter.FlushAsync(System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Adapters.EmptyState">
- <summary>
- Empty record equivalent to Unit/Void.
- Works as placeholder type used when working with generic interfaces which do require type,
- but implementation needs none.
- Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
- pubternal - exposed as public but still very likely to change.
- </summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Adapters.PipeReaderAdapter">
- <summary>
- Stream adapter for <see cref="T:System.IO.Pipelines.PipeReader"/>.
- Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
- pubternal - exposed as public but still very likely to change.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeReaderAdapter.#ctor(System.IO.Pipelines.PipeReader)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Adapters.PipeReaderAdapter"/>.
- </summary>
- <param name="reader">Pipe reader.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeReaderAdapter.Read(K4os.Compression.LZ4.Streams.Adapters.EmptyState@,System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <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)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter">
- <summary>
- LZ4 stream adapter for <see cref="T:System.IO.Pipelines.PipeReader"/>.
- Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
- pubternal - exposed as public but still very likely to change.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.#ctor(System.IO.Pipelines.PipeWriter)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter"/>.
- </summary>
- <param name="writer">Pipe writer.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.Write(K4os.Compression.LZ4.Streams.Adapters.EmptyState@,System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <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)">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.CanFlush">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.Flush(K4os.Compression.LZ4.Streams.Adapters.EmptyState@)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.PipeWriterAdapter.FlushAsync(K4os.Compression.LZ4.Streams.Adapters.EmptyState,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter">
- <summary>
- LZ4 stream reader/writer adapter for <see cref="T:System.IO.Stream"/>.
- Please note, whole <c>K4os.Compression.LZ4.Streams.Adapters</c> namespace should be considered
- pubternal - exposed as public but still very likely to change.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.#ctor(System.IO.Stream)">
- <summary>
- Creates new stream adapter for
- </summary>
- <param name="stream"></param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.Read(K4os.Compression.LZ4.Streams.Adapters.EmptyState@,System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <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)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.Write(K4os.Compression.LZ4.Streams.Adapters.EmptyState@,System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <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)">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.CanFlush">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.Flush(K4os.Compression.LZ4.Streams.Adapters.EmptyState@)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.StreamAdapter.FlushAsync(K4os.Compression.LZ4.Streams.Adapters.EmptyState,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan">
- <summary>
- Unsafe version of <see cref="T:System.Span`1"/>. It is unsafe as it stores raw memory pointer
- so memory it points to must be pinned. It allows reading and writing straight to
- unmanaged memory but must be used carefully.
- NOTE: If you don't understand what has been said above - don't use it. Misuse of this
- struct may lead to unpredictable errors and memory corruption.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan.Bytes">
- <summary>Pointer to the first byte of the span.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan.Length">
- <summary>Length of the span in bytes.</summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan.#ctor(System.Void*,System.Int32)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/> from given pointer and length.
- </summary>
- <param name="bytes">Pointer to the first byte of the span.</param>
- <param name="length">Length of the span in bytes.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan.Create(System.Void*,System.Int32)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/> from raw pointer.
- </summary>
- <param name="bytes">Pointer block of bytes.</param>
- <param name="length">Length of the block.</param>
- <returns>New <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/>.</returns>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan.Span">
- <summary>
- Converted to <see cref="T:System.Span`1"/>.
- </summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Extensions">
- <summary>
- Utility methods for LZ4 streams.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.CreateEncoder(K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.LZ4Level,System.Int32)">
- <summary>
- Creates <see cref="T:K4os.Compression.LZ4.Encoders.ILZ4Encoder"/> using <see cref="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor"/>.
- </summary>
- <param name="descriptor">LZ4 descriptor.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Additional memory for encoder.</param>
- <returns>Encoder.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.CreateEncoder(K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
- <summary>
- 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"/>.
- </summary>
- <param name="descriptor">LZ4 descriptor.</param>
- <param name="settings">Encoder settings.</param>
- <returns>Encoder.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.CreateDecoder(K4os.Compression.LZ4.Streams.ILZ4Descriptor,System.Int32)">
- <summary>
- Create <see cref="T:K4os.Compression.LZ4.Encoders.ILZ4Decoder"/> using <see cref="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor"/>.
- </summary>
- <param name="descriptor">Descriptor.</param>
- <param name="extraMemory">Extra memory (may improves speed, but creates memory pressure).</param>
- <returns><see cref="T:K4os.Compression.LZ4.Encoders.ILZ4Decoder"/>.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.CreateDecoder(K4os.Compression.LZ4.Streams.ILZ4Descriptor,K4os.Compression.LZ4.Streams.LZ4DecoderSettings)">
- <summary>
- 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"/>.
- </summary>
- <param name="descriptor">Descriptor.</param>
- <param name="settings">Settings.</param>
- <returns><see cref="T:K4os.Compression.LZ4.Encoders.ILZ4Decoder"/>.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.CreateDescriptor(K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
- <summary>
- Creates <see cref="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor"/> from <see cref="T:K4os.Compression.LZ4.Streams.LZ4DecoderSettings"/>.
- </summary>
- <param name="settings">Settings.</param>
- <returns>LZ4 Descriptor.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.OpenFrameAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader)">
- <summary>Async version of <see cref="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.OpenFrame"/>.</summary>
- <param name="reader">Decoder.</param>
- <returns><c>true</c> if frame was just opened,
- <c>false</c> if it was opened before.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.GetFrameLengthAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader)">
- <summary>Async version of <see cref="M:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader.GetFrameLength"/>.</summary>
- <param name="reader">Decoder.</param>
- <returns>Frame length, or <c>null</c></returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.ReadOneByteAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader)">
- <summary>Reads one byte from LZ4 stream.</summary>
- <param name="reader">Decoder.</param>
- <returns>A byte, or -1 if end of stream.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.ReadManyBytesAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader,System.Memory{System.Byte},System.Boolean)">
- <summary>Reads many bytes from LZ4 stream. Return number of bytes actually read.</summary>
- <param name="reader">Decoder.</param>
- <param name="buffer">Byte buffer to read into.</param>
- <param name="interactive">if <c>true</c> then returns as soon as some bytes are read,
- if <c>false</c> then waits for all bytes being read or end of stream.</param>
- <returns>Number of bytes actually read.
- <c>0</c> means that end of stream has been reached.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.OpenFrameAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter)">
- <summary>
- Opens a stream by reading frame header. Please note, this methods can be called explicitly
- but does not need to be called, it will be called automatically if needed.
- </summary>
- <param name="writer">Encoder.</param>
- <returns><c>true</c> if frame has been opened, or <c>false</c> if it was opened before.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.WriteOneByteAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.Byte)">
- <summary>Writes one byte to stream.</summary>
- <param name="writer">Encoder.</param>
- <param name="value">Byte to be written.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.WriteManyBytesAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.ReadOnlyMemory{System.Byte})">
- <summary>Writes multiple bytes to stream.</summary>
- <param name="writer">Encoder.</param>
- <param name="buffer">Byte buffer.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.CloseFrameAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter)">
- <summary>
- Closes frame. Frame needs to be closed for stream to by valid, although
- this methods does not need to be called explicitly if stream is properly dispose.
- </summary>
- <param name="writer">Encoder.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.CopyTo``1(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader,``0,System.Int32)">
- <summary>
- Copies all bytes from <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> into <see cref="T:System.Buffers.IBufferWriter`1"/>.
- </summary>
- <param name="source">Frame reader.</param>
- <param name="target">Buffer writer.</param>
- <param name="blockSize">Chunk size.</param>
- <typeparam name="TBufferWriter">Type of buffer writer.</typeparam>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.CopyToAsync``1(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader,``0,System.Int32)">
- <summary>
- Copies all bytes from <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> into <see cref="T:System.Buffers.IBufferWriter`1"/>.
- </summary>
- <param name="source">LZ4 frame reader.</param>
- <param name="target">Buffer writer.</param>
- <param name="blockSize">Chunk size.</param>
- <typeparam name="TBufferWriter">Type of buffer writer.</typeparam>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.CopyFrom(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.Buffers.ReadOnlySequence{System.Byte})">
- <summary>
- Copies all bytes from <see cref="T:System.Buffers.ReadOnlySequence`1"/> into <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/>.
- </summary>
- <param name="target">Frame writer.</param>
- <param name="source">Sequence of bytes.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.CopyFromAsync(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.Buffers.ReadOnlySequence{System.Byte})">
- <summary>
- Copies all bytes from <see cref="T:System.Buffers.ReadOnlySequence`1"/> into <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/>.
- </summary>
- <param name="target">Frame writer.</param>
- <param name="source">Sequence of bytes.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.AsStream(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader,System.Boolean,System.Boolean)">
- <summary>
- Wraps <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> as <see cref="T:System.IO.Stream"/>.
- </summary>
- <param name="reader">LZ4 frame reader.</param>
- <param name="leaveOpen">Indicates that frame reader should be left open even if stream is
- disposed.</param>
- <param name="interactive">Indicates that data should be provided to reader as quick as
- possible, instead of waiting for whole block to be read.</param>
- <returns><see cref="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream"/> stream wrapper.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Extensions.AsStream(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.Boolean)">
- <summary>
- Wraps <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> as <see cref="T:System.IO.Stream"/>.
- </summary>
- <param name="writer">LZ4 frame writer.</param>
- <param name="leaveOpen">Indicates that frame writer should be left open even if stream is
- disposed.</param>
- <returns><see cref="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream"/> stream wrapper.</returns>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2">
- <summary>
- LZ4 Decompression stream handling.
- </summary>
- </member>
- <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})">
- <summary>Creates new instance <see cref="T:K4os.Compression.LZ4.Streams.LZ4DecoderStream"/>.</summary>
- <param name="reader">Inner stream.</param>
- <param name="stream">Inner stream initial state.</param>
- <param name="decoderFactory">Decoder factory.</param>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.StreamState">
- <summary>
- Exposes internal stream state. Existence of this property is a hack,
- and it really shouldn't be here but it is needed for relatively low
- level operations (like writing directly to unmanaged memory).
- Please, do not use it directly, if don't know what you are doing.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.CloseFrame">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.AllocBuffer(System.Int32)">
- <summary>Allocate temporary buffer to store decompressed data.</summary>
- <param name="size">Minimum size of the buffer.</param>
- <returns>Allocated buffer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReleaseBuffer(System.Byte[])">
- <summary>Releases allocated buffer. <see cref="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.AllocBuffer(System.Int32)"/></summary>
- <param name="buffer">Previously allocated buffer.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.OpenFrame">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.OpenFrameAsync(System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.GetBytesRead">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.GetFrameLength">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.GetFrameLengthAsync(System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReadOneByte">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReadOneByteAsync(System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReadManyBytes(System.Span{System.Byte},System.Boolean)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReadManyBytesAsync(System.Threading.CancellationToken,System.Memory{System.Byte},System.Boolean)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.Dispose(System.Boolean)">
- <summary>
- Disposes the decoder. Consecutive attempts to read will fail.
- </summary>
- <param name="disposing"><c>true</c> is stream is being disposed by user,
- <c>true</c> is by garbage collector.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReleaseResources">
- <summary>
- Releases unmanaged resources.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.ReleaseResourcesAsync">
- <summary>
- Releases unmanaged resources.
- </summary>
- <returns>Task indicating operation is finished.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReader`2.Dispose">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameReader">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> implementation for <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/>.
- </summary>
- </member>
- <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})">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameReader"/>.
- </summary>
- <param name="span">Bytes span.</param>
- <param name="decoderFactory">LZ4 decoder factory.</param>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameReader">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> implementation for <see cref="T:System.ReadOnlyMemory`1"/>.
- </summary>
- </member>
- <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})">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameReader"/>.
- </summary>
- <param name="memory">Memory buffer.</param>
- <param name="decoderFactory">LZ4 decoder factory.</param>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteSequenceLZ4FrameReader">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> implementation for <see cref="T:System.Buffers.ReadOnlySequence`1"/>.
- </summary>
- </member>
- <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})">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteSequenceLZ4FrameReader"/>.
- </summary>
- <param name="sequence">Byte sequence.</param>
- <param name="decoderFactory">LZ4 decoder factory.</param>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameReader">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> implementation for <see cref="T:System.IO.Stream"/>.
- </summary>
- </member>
- <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})">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameReader"/>.
- </summary>
- <param name="stream">Stream to read from.</param>
- <param name="leaveOpen">Leave stream open after reader is disposed.</param>
- <param name="decoderFactory">LZ4 decoder factory.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameReader.Dispose(System.Boolean)">
- <summary>
- Disposes the reader.
- </summary>
- <param name="disposing"><c>true</c> if user is disposing it; <c>false</c> if it has been triggered by garbage collector</param>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameReader">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> implementation for <see cref="T:System.IO.Pipelines.PipeReader"/>.
- </summary>
- </member>
- <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})">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameReader"/>.
- </summary>
- <param name="pipe">Pipe to be read.</param>
- <param name="leaveOpen">Leave pipe open after reader is disposed.</param>
- <param name="decoderFactory">LZ4 decoder factory.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameReader.ReleaseResources">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameReader.ReleaseResourcesAsync">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream">
- <summary>
- <see cref="T:System.IO.Stream"/> wrapper for <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/>.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.#ctor(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader,System.Boolean,System.Boolean)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream"/>.
- </summary>
- <param name="reader">LZ4 frame reader.</param>
- <param name="leaveOpen">Leave underlying stream open after disposing this stream.</param>
- <param name="interactive">Use interactive mode; return bytes as soon as they available.</param>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.CanRead">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.ReadByte">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.Read(System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.Length">
- <summary>
- Length of stream. Please note, this will only work if original LZ4 stream has
- <c>ContentLength</c> field set in descriptor. Otherwise returned value will be <c>-1</c>.
- It will also require synchronous stream access, so it wont work if AllowSynchronousIO
- is <c>false</c>.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.Position">
- <summary>
- Position within the stream. Position can be read, but cannot be set as LZ4 stream does
- not have <c>Seek</c> capability.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameReaderAsStream.Dispose(System.Boolean)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2">
- <summary>
- LZ4 stream encoder.
- </summary>
- </member>
- <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)">
- <summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4EncoderStream"/>.</summary>
- <param name="writer">Inner stream.</param>
- <param name="stream">Inner stream initial state.</param>
- <param name="encoderFactory">LZ4 Encoder factory.</param>
- <param name="descriptor">LZ4 settings.</param>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.StreamState">
- <summary>
- Exposes internal stream state. Existence of this field is a hack,
- and it really shouldn't be here but it is needed for relatively low
- level operations (like writing directly to unmanaged memory).
- Please, do not use it directly, if don't know what you are doing.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.AllocateBuffer(System.Int32)">
- <summary>Allocate temporary buffer to store decompressed data.</summary>
- <param name="size">Minimum size of the buffer.</param>
- <returns>Allocated buffer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.ReleaseBuffer(System.Byte[])">
- <summary>Releases allocated buffer. <see cref="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.AllocateBuffer(System.Int32)"/></summary>
- <param name="buffer">Previously allocated buffer.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.GetBytesWritten">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.WriteOneByte(System.Byte)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.WriteOneByteAsync(System.Threading.CancellationToken,System.Byte)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.WriteManyBytes(System.ReadOnlySpan{System.Byte})">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.WriteManyBytesAsync(System.Threading.CancellationToken,System.ReadOnlyMemory{System.Byte})">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.OpenFrame">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.OpenFrameAsync(System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.CloseFrame">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.CloseFrameAsync(System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.Dispose(System.Boolean)">
- <summary>
- Disposes the stream and releases all resources.
- </summary>
- <param name="disposing"><c>true</c> if called by user; <c>false</c> when called by garbag collector.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.Dispose">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.ReleaseResources">
- <summary>
- Releases all unmanaged resources.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriter`2.ReleaseResourcesAsync">
- <summary>
- Releases all unmanaged resources.
- </summary>
- <returns>Task indicating completion of the operation.</returns>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter`1">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:System.Buffers.IBufferWriter`1"/>
- </summary>
- <typeparam name="TBufferWriter">Type of buffer writer.</typeparam>
- </member>
- <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)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter`1"/>.
- </summary>
- <param name="stream">Buffer writer to write to.</param>
- <param name="encoderFactory">Encoder factory.</param>
- <param name="descriptor">Frame descriptor.</param>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter`1.BufferWriter">
- <summary>Current state of buffer writer.</summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:System.Buffers.IBufferWriter`1"/>
- </summary>
- </member>
- <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)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteBufferLZ4FrameWriter"/>.
- </summary>
- <param name="stream">Buffer writer to write to.</param>
- <param name="encoderFactory">Encoder factory.</param>
- <param name="descriptor">Frame descriptor.</param>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameWriter">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:System.Memory`1"/>
- </summary>
- </member>
- <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)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameWriter"/>.
- </summary>
- <param name="memory">Memory block where data will be written.</param>
- <param name="encoderFactory">Encoder factory.</param>
- <param name="descriptor">Frame descriptor.</param>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.ByteMemoryLZ4FrameWriter.CompressedLength">
- <summary>Number of bytes written to the memory.</summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameWriter">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/>.
- <see cref="T:K4os.Compression.LZ4.Streams.Adapters.UnsafeByteSpan"/> is a wrapper around <see cref="T:System.Span`1"/> that
- can be stored in a field. Please note: it makes it unsafe and address needs to be pinned,
- one way or another.
- </summary>
- </member>
- <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)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameWriter"/>.
- </summary>
- <param name="span">Span to write to.</param>
- <param name="encoderFactory">Encoder factory.</param>
- <param name="descriptor">Frame descriptor.</param>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.ByteSpanLZ4FrameWriter.CompressedLength">
- <summary>Number of bytes written to the memory.</summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameWriter">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:System.IO.Stream"/>.
- </summary>
- </member>
- <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)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameWriter"/>.
- </summary>
- <param name="stream">Stream to write to.</param>
- <param name="leaveOpen">Leave stream open after disposing this writer.</param>
- <param name="encoderFactory">Encoder factory.</param>
- <param name="descriptor">Frame descriptor.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameWriter.ReleaseResources">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.StreamLZ4FrameWriter.ReleaseResourcesAsync">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameWriter">
- <summary>
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> implementation for <see cref="T:System.IO.Pipelines.PipeWriter"/>.
- </summary>
- </member>
- <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)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameWriter"/>.
- </summary>
- <param name="pipe">Pipe writer to write to.</param>
- <param name="leaveOpen">Leave pipe open after disposing this writer.</param>
- <param name="encoderFactory">Encoder factory.</param>
- <param name="descriptor">Frame descriptor.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameWriter.ReleaseResources">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.PipeLZ4FrameWriter.ReleaseResourcesAsync">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream">
- <summary>
- Adapter to make <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> look like <see cref="T:System.IO.Stream"/>.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.#ctor(K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter,System.Boolean)">
- <summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4EncoderStream"/>.</summary>
- <param name="writer">Underlying frame encoder.</param>
- <param name="leaveOpen">Indicates <paramref name="writer"/> should be left
- open after disposing.</param>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.CanWrite">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.WriteByte(System.Byte)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.Write(System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.Length">
- <summary>Length of the stream and number of bytes written so far.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Frames.LZ4FrameWriterAsStream.Position">
- <summary>Read-only position in the stream. Trying to set it will throw
- <see cref="T:System.InvalidOperationException"/>.</summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.ILZ4Descriptor">
- <summary>
- LZ4 Frame descriptor.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.ContentLength">
- <summary>Content length. Not always known.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.ContentChecksum">
- <summary>Indicates if content checksum is provided.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.Chaining">
- <summary>Indicates if blocks are chained (dependent) or not (independent).</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.BlockChecksum">
- <summary>Indicates if block checksums are provided.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.Dictionary">
- <summary>Dictionary id. May be null.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.ILZ4Descriptor.BlockSize">
- <summary>Block size.</summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Internal.EmptyToken">
- <summary>
- Completely empty class to do nothing.
- It is used internally instead of CancellationToken to make sure
- blocking operations are easily distinguishable from async ones
- (you cannot call blocking operation by accident as they *require* EmptyToken).
- </summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1">
- <summary>
- Base class for all <see cref="T:System.IO.Stream"/> compatible adapters.
- </summary>
- <typeparam name="T">Type of resource stream adapter if for.</typeparam>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.#ctor(`0,System.Boolean)">
- <summary>
- Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1"/>.
- </summary>
- <param name="innerResource">Wrapped resource.</param>
- <param name="leaveOpen">Do not dispose inner resource after stream is disposed.</param>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.InnerResource">
- <summary>Wrapped resource.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.CanRead">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.CanWrite">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.CanTimeout">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.ReadTimeout">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.WriteTimeout">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.CanSeek">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Position">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Length">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Flush">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.FlushAsync(System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Seek(System.Int64,System.IO.SeekOrigin)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.SetLength(System.Int64)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.ReadByte">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Read(System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Dispose(System.Boolean)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.WriteByte(System.Byte)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.Write(System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamEssentials`1.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials">
- <summary>
- LZ4 stream essentials when wrapping another stream.
- You most likely should not use it but it needs to be public as it is inherited from.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.CanRead">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.CanWrite">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.CanTimeout">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.ReadTimeout">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.WriteTimeout">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.Flush">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.Internal.LZ4StreamOnStreamEssentials.FlushAsync(System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.LZ4DecoderSettings">
- <summary>
- Decoder settings.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderSettings.ExtraMemory">
- <summary>Extra memory for decompression.</summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.LZ4DecoderStream">
- <summary>
- LZ4 frame decoder stream.
- </summary>
- </member>
- <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)">
- <summary>
- Creates LZ4 decoder stream.
- </summary>
- <param name="inner">Inner stream, the stream compressed data is coming from..</param>
- <param name="decoderFactory">Decoder factory.</param>
- <param name="leaveOpen">Leave inner stream open after this stream is disposed.</param>
- <param name="interactive">Interactive mode, provide bytes as soon as they are available; don't wait for full block.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.ReadByte">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Read(System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.CanWrite">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Length">
- <summary>
- Length of stream. Please note, this will only work if original LZ4 stream has
- <c>ContentLength</c> field set in descriptor. Otherwise returned value will be <c>-1</c>.
- It will also require synchronous stream access, so it wont work if AllowSynchronousIO
- is <c>false</c>.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Position">
- <summary>
- Position within the stream. Position can be read, but cannot be set as LZ4 stream does
- not have <c>Seek</c> capability.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4DecoderStream.Dispose(System.Boolean)">
- <inheritdoc />
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.LZ4Descriptor">
- <summary>
- LZ4 frame descriptor.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.ContentLength">
- <summary>Content length (if available).</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.ContentChecksum">
- <summary>Indicates if content checksum if present.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.Chaining">
- <summary>Indicates if blocks are chained.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.BlockChecksum">
- <summary>Indicates if block checksums are present.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.Dictionary">
- <summary>Dictionary id (or null).</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4Descriptor.BlockSize">
- <summary>Block size.</summary>
- </member>
- <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)">
- <summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4Descriptor"/>.</summary>
- <param name="contentLength">Content length.</param>
- <param name="contentChecksum">Content checksum flag.</param>
- <param name="chaining">Chaining flag.</param>
- <param name="blockChecksum">Block checksum flag.</param>
- <param name="dictionary">Dictionary id.</param>
- <param name="blockSize">Block size.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Descriptor.#ctor(K4os.Compression.LZ4.Streams.ILZ4Descriptor)">
- <summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4Descriptor"/>.</summary>
- <param name="descriptor">Descriptor to copy.</param>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.LZ4EncoderSettings">
- <summary>
- LZ4 encoder settings.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ContentLength">
- <summary>
- Content length. It is not enforced, it can be set to any value, but it will be
- written to the stream so it can be used while decoding. If you don't know the length
- just leave default value.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ChainBlocks">
- <summary>
- Indicates if blocks should be chained (dependent) or not (independent). Dependent blocks
- (with chaining) provide better compression ratio but are a little but slower and take
- more memory.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.BlockSize">
- <summary>
- Block size. You can use any block size, but default values for LZ4 are 64k, 256k, 1m,
- and 4m. 64k is good enough for dependent blocks, but for independent blocks bigger is
- better.
- </summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ContentChecksum">
- <summary>Indicates is content checksum should be included.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.BlockChecksum">
- <summary>Indicates if block checksum should be included.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.Dictionary">
- <summary>Dictionary id. Not implemented yet.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.CompressionLevel">
- <summary>Compression level.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderSettings.ExtraMemory">
- <summary>Extra memory (for the process, more is usually better).</summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.LZ4EncoderStream">
- <summary>
- LZ4 frame encoder stream.
- </summary>
- </member>
- <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)">
- <summary>Creates new instance of <see cref="T:K4os.Compression.LZ4.Streams.LZ4EncoderStream"/>.</summary>
- <param name="inner">Inner stream.</param>
- <param name="descriptor">LZ4 Descriptor.</param>
- <param name="encoderFactory">Function which will take descriptor and return
- appropriate encoder.</param>
- <param name="leaveOpen">Indicates if <paramref name="inner"/> stream should be left
- open after disposing.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Dispose(System.Boolean)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.WriteByte(System.Byte)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Write(System.Byte[],System.Int32,System.Int32)">
- <inheritdoc />
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4EncoderStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.CanRead">
- <inheritdoc />
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Length">
- <summary>Length of the stream and number of bytes written so far.</summary>
- </member>
- <member name="P:K4os.Compression.LZ4.Streams.LZ4EncoderStream.Position">
- <summary>Read-only position in the stream. Trying to set it will throw
- <see cref="T:System.InvalidOperationException"/>.</summary>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.LZ4Frame">
- <summary>
- LZ4 factory methods to encode/decode anything which can be represented as a stream-like object.
- Please note, to avoid all the complexity of dealing with streams, it uses
- <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameReader"/> and <see cref="T:K4os.Compression.LZ4.Streams.Abstractions.ILZ4FrameWriter"/> as stream abstractions.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Decode``1(System.ReadOnlySpan{System.Byte},``0,System.Int32)">
- <summary>Creates decompression stream on top of inner stream.</summary>
- <param name="source">Span to read from.</param>
- <param name="target">Buffer to write to.</param>
- <param name="extraMemory">Extra memory used for decompression.</param>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Decode(System.ReadOnlyMemory{System.Byte},System.Int32)">
- <summary>Creates decompression stream on top of inner stream.</summary>
- <param name="memory">Stream to be decoded.</param>
- <param name="extraMemory">Extra memory used for decompression.</param>
- <returns>Decompression stream.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Decode(System.Buffers.ReadOnlySequence{System.Byte},System.Int32)">
- <summary>Creates decompression stream on top of inner stream.</summary>
- <param name="sequence">Stream to be decoded.</param>
- <param name="extraMemory">Extra memory used for decompression.</param>
- <returns>Decompression stream.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Decode(System.IO.Stream,System.Int32,System.Boolean)">
- <summary>Creates decompression stream on top of inner stream.</summary>
- <param name="stream">Stream to be decoded.</param>
- <param name="extraMemory">Extra memory used for decompression.</param>
- <param name="leaveOpen">Indicates if stream should stay open after disposing decoder.</param>
- <returns>Decompression stream.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Decode(System.IO.Pipelines.PipeReader,System.Int32,System.Boolean)">
- <summary>Creates decompression stream on top of inner stream.</summary>
- <param name="reader">Stream to be decoded.</param>
- <param name="extraMemory">Extra memory used for decompression.</param>
- <param name="leaveOpen">Indicates if stream should stay open after disposing decoder.</param>
- <returns>Decompression stream.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(System.Buffers.ReadOnlySequence{System.Byte},``0,K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
- <summary>
- Compresses source bytes into target buffer. Returns number of bytes actually written.
- </summary>
- <param name="source">Source bytes.</param>
- <param name="target">Target buffer.</param>
- <param name="settings">Compression settings.</param>
- <returns>Number of bytes actually written.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(System.ReadOnlySpan{System.Byte},``0,K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
- <summary>
- Compresses source bytes into target buffer. Returns number of bytes actually written.
- </summary>
- <param name="source">Source bytes.</param>
- <param name="target">Target buffer.</param>
- <param name="settings">Compression settings.</param>
- <returns>Number of bytes actually written.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(System.Buffers.ReadOnlySequence{System.Byte},``0,K4os.Compression.LZ4.LZ4Level,System.Int32)">
- <summary>
- Compresses source bytes into target buffer. Returns number of bytes actually written.
- </summary>
- <param name="source">Source bytes.</param>
- <param name="target">Target buffer.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory.</param>
- <returns>Number of bytes actually written.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(System.ReadOnlySpan{System.Byte},``0,K4os.Compression.LZ4.LZ4Level,System.Int32)">
- <summary>
- Compresses source bytes into target buffer. Returns number of bytes actually written.
- </summary>
- <param name="source">Source bytes.</param>
- <param name="target">Target buffer.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory.</param>
- <returns>Number of bytes actually written.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Buffers.ReadOnlySequence{System.Byte},System.Span{System.Byte},K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
- <summary>
- Compresses source bytes into target buffer. Returns number of bytes actually written.
- </summary>
- <param name="source">Source bytes.</param>
- <param name="target">Target buffer.</param>
- <param name="settings">Compression settings.</param>
- <returns>Number of bytes actually written.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Span{System.Byte},System.Span{System.Byte},K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
- <summary>
- Compresses source bytes into target buffer. Returns number of bytes actually written.
- </summary>
- <param name="source">Source bytes.</param>
- <param name="target">Target buffer.</param>
- <param name="settings">Compression settings.</param>
- <returns>Number of bytes actually written.</returns>
- </member>
- <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)">
- <summary>
- Writes bytes into target buffer. Returns number of bytes actually written.
- </summary>
- <param name="source">Source of bytes, a function which write to LZ4 encoder.</param>
- <param name="target">Target buffer.</param>
- <param name="settings">Compression settings.</param>
- <returns>Number of bytes actually written.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Buffers.ReadOnlySequence{System.Byte},System.Span{System.Byte},K4os.Compression.LZ4.LZ4Level,System.Int32)">
- <summary>
- Compresses source bytes into target buffer. Returns number of bytes actually written.
- </summary>
- <param name="source">Source bytes.</param>
- <param name="target">Target buffer.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory for encoder.</param>
- <returns>Number of bytes actually written.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Span{System.Byte},System.Span{System.Byte},K4os.Compression.LZ4.LZ4Level,System.Int32)">
- <summary>
- Compresses source bytes into target buffer. Returns number of bytes actually written.
- </summary>
- <param name="source">Source bytes.</param>
- <param name="target">Target buffer.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory for encoder.</param>
- <returns>Number of bytes actually written.</returns>
- </member>
- <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)">
- <summary>
- Compresses source bytes into target buffer. Returns number of bytes actually written.
- </summary>
- <param name="source">Source of bytes, a function which write to LZ4 encoder.</param>
- <param name="target">Target buffer.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory for encoder.</param>
- <returns>Number of bytes actually written.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Byte*,System.Int32,K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
- <summary>
- Create LZ4 encoder that writes compressed data into target buffer.
- Please note, target buffer needs to be pinned for the whole time encoder is used.
- This is definitely very unsafe method, and if you don't understand what it does,
- don't use it.
- </summary>
- <param name="target">Pointer to target buffer.</param>
- <param name="length">Length of target buffer.</param>
- <param name="settings">Encoder settings.</param>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level,System.Int32)">
- <summary>
- Create LZ4 encoder that writes compressed data into target buffer.
- Please note, target buffer needs to be pinned for the whole time encoder is used.
- This is definitely very unsafe method, and if you don't understand what it does,
- don't use it.
- </summary>
- <param name="target">Pointer to target buffer.</param>
- <param name="length">Length of target buffer.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory for encoder.</param>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Memory{System.Byte},K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
- <summary>
- Create LZ4 encoder that writes compressed data into target buffer.
- </summary>
- <param name="target">Target buffer.</param>
- <param name="settings">Encoder settings.</param>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Memory{System.Byte},K4os.Compression.LZ4.LZ4Level,System.Int32)">
- <summary>
- Create LZ4 encoder that writes compressed data into target buffer.
- </summary>
- <param name="target">Target buffer.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory for encoder.</param>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(``0,K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
- <summary>
- Create LZ4 encoder that writes compressed data into target buffer.
- </summary>
- <param name="target">Target buffer.</param>
- <param name="settings">Encoder settings.</param>
- <typeparam name="TBufferWriter">Byte of buffer writer implementing <see cref="T:System.Buffers.IBufferWriter`1"/>.</typeparam>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode``1(``0,K4os.Compression.LZ4.LZ4Level,System.Int32)">
- <summary>
- Create LZ4 encoder that writes compressed data into target buffer.
- </summary>
- <param name="target">Target buffer.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory for encoder.</param>
- <typeparam name="TBufferWriter">Byte of buffer writer implementing <see cref="T:System.Buffers.IBufferWriter`1"/>.</typeparam>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Buffers.IBufferWriter{System.Byte},K4os.Compression.LZ4.Streams.LZ4EncoderSettings)">
- <summary>
- Create LZ4 encoder that writes compressed data into target buffer.
- </summary>
- <param name="target">Target buffer.</param>
- <param name="settings">Encoder settings.</param>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.Buffers.IBufferWriter{System.Byte},K4os.Compression.LZ4.LZ4Level,System.Int32)">
- <summary>
- Create LZ4 encoder that writes compressed data into target buffer.
- </summary>
- <param name="target">Target buffer.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory for encoder.</param>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.IO.Stream,K4os.Compression.LZ4.Streams.LZ4EncoderSettings,System.Boolean)">
- <summary>
- Create LZ4 encoder that writes compressed data into target stream.
- </summary>
- <param name="target">Target stream.</param>
- <param name="settings">Encoder settings.</param>
- <param name="leaveOpen">Leave target stream open after encoder is disposed.</param>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.IO.Stream,K4os.Compression.LZ4.LZ4Level,System.Int32,System.Boolean)">
- <summary>
- Create LZ4 encoder that writes compressed data into target stream.
- </summary>
- <param name="target">Target stream.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory for encoder.</param>
- <param name="leaveOpen">Leave target stream open after encoder is disposed.</param>
- <returns></returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.IO.Pipelines.PipeWriter,K4os.Compression.LZ4.Streams.LZ4EncoderSettings,System.Boolean)">
- <summary>
- Create LZ4 encoder that writes compressed data into target pipe.
- </summary>
- <param name="target">Target pipe.</param>
- <param name="settings">Encoder settings.</param>
- <param name="leaveOpen">Leave target pipe open after encoder is disposed.</param>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Frame.Encode(System.IO.Pipelines.PipeWriter,K4os.Compression.LZ4.LZ4Level,System.Int32,System.Boolean)">
- <summary>
- Create LZ4 encoder that writes compressed data into target pipe.
- </summary>
- <param name="target">Target pipe.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory for encoder.</param>
- <param name="leaveOpen">Leave target pipe open after encoder is disposed.</param>
- <returns>LZ4 frame writer.</returns>
- </member>
- <member name="T:K4os.Compression.LZ4.Streams.LZ4Stream">
- <summary>
- Utility class with factory methods to create LZ4 compression and decompression streams.
- </summary>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Encode(System.IO.Stream,K4os.Compression.LZ4.Streams.LZ4EncoderSettings,System.Boolean)">
- <summary>Created compression stream on top of inner stream.</summary>
- <param name="stream">Inner stream.</param>
- <param name="settings">Compression settings.</param>
- <param name="leaveOpen">Leave inner stream open after disposing.</param>
- <returns>Compression stream.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Encode(System.IO.Stream,K4os.Compression.LZ4.LZ4Level,System.Int32,System.Boolean)">
- <summary>Created compression stream on top of inner stream.</summary>
- <param name="stream">Inner stream.</param>
- <param name="level">Compression level.</param>
- <param name="extraMemory">Extra memory used for compression.</param>
- <param name="leaveOpen">Leave inner stream open after disposing.</param>
- <returns>Compression stream.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Decode(System.IO.Stream,K4os.Compression.LZ4.Streams.LZ4DecoderSettings,System.Boolean,System.Boolean)">
- <summary>Creates decompression stream on top of inner stream.</summary>
- <param name="stream">Inner stream.</param>
- <param name="settings">Decompression settings.</param>
- <param name="leaveOpen">Leave inner stream open after disposing.</param>
- <param name="interactive">If <c>true</c> reading from stream will be "interactive" allowing
- to read bytes as soon as possible, even if more data is expected.</param>
- <returns>Decompression stream.</returns>
- </member>
- <member name="M:K4os.Compression.LZ4.Streams.LZ4Stream.Decode(System.IO.Stream,System.Int32,System.Boolean,System.Boolean)">
- <summary>Creates decompression stream on top of inner stream.</summary>
- <param name="stream">Inner stream.</param>
- <param name="extraMemory">Extra memory used for decompression.</param>
- <param name="leaveOpen">Leave inner stream open after disposing.</param>
- <param name="interactive">If <c>true</c> reading from stream will be "interactive" allowing
- to read bytes as soon as possible, even if more data is expected.</param>
- <returns>Decompression stream.</returns>
- </member>
- </members>
- </doc>
|