Table of Contents

Method Compress

Namespace
AvroSharp.Containers
Assembly
AvroSharp.dll

Compress(ReadOnlyMemory<byte>, IBufferWriter<byte>)

Compresses one block.

public abstract void Compress(ReadOnlyMemory<byte> source, IBufferWriter<byte> destination)

Parameters

source ReadOnlyMemory<byte>

The uncompressed block: the encoded objects.

destination IBufferWriter<byte>

Receives the compressed block.