Table of Contents

Constructor GenericFixed

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

GenericFixed(FixedSchema, byte[])

Initializes a fixed value. The array is not copied.

public GenericFixed(FixedSchema schema, byte[] bytes)

Parameters

schema FixedSchema

The fixed schema.

bytes byte[]

The bytes; the length must equal the schema's size.

Exceptions

ArgumentException

The length does not match the schema.