Method Decompress
- Namespace
- AvroSharp.Containers
- Assembly
- AvroSharp.dll
Decompress(ReadOnlyMemory<byte>, IBufferWriter<byte>)
Decompresses one block. The destination refuses to grow past the reader's block limit, so an implementation needs no limit of its own; it should throw InvalidDataException for corrupt data.
public abstract void Decompress(ReadOnlyMemory<byte> source, IBufferWriter<byte> destination)
Parameters
sourceReadOnlyMemory<byte>The compressed block as stored in the file.
destinationIBufferWriter<byte>Receives the encoded objects.