Table of Contents

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 override void Decompress(ReadOnlyMemory<byte> source, IBufferWriter<byte> destination)

Parameters

source ReadOnlyMemory<byte>

The compressed block as stored in the file.

destination IBufferWriter<byte>

Receives the encoded objects.