Table of Contents

Constructor AvroFileBlock

Namespace
AvroSharp.Containers
Assembly
AvroSharp.dll

AvroFileBlock(AvroSchema, AvroCodec, long, ReadOnlyMemory<byte>)

Initializes a block. The data is not copied or checked.

public AvroFileBlock(AvroSchema schema, AvroCodec codec, long count, ReadOnlyMemory<byte> data)

Parameters

schema AvroSchema

The schema the objects are encoded with.

codec AvroCodec

The codec the data is compressed with.

count long

The number of objects, at least 1.

data ReadOnlyMemory<byte>

The compressed objects, as stored in a file.