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
schemaAvroSchemaThe schema the objects are encoded with.
codecAvroCodecThe codec the data is compressed with.
countlongThe number of objects, at least 1.
dataReadOnlyMemory<byte>The compressed objects, as stored in a file.