Table of Contents

Method Create

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

Create(AvroSchema, GenericDatumReaderOptions?)

Gets the comparer for schema, compiling it on first use. Comparers with the default options are cached per schema; comparers with custom options are created each time, so keep and reuse them.

public static AvroBinaryComparer Create(AvroSchema schema, GenericDatumReaderOptions? options = null)

Parameters

schema AvroSchema

The schema the data is written with.

options GenericDatumReaderOptions

Limits, or null for Default.

Returns

AvroBinaryComparer