Table of Contents

Method Crc64Avro

Namespace
AvroSharp.Schemas
Assembly
AvroSharp.dll

Crc64Avro(ReadOnlySpan<byte>)

Computes the CRC-64-AVRO (Rabin) fingerprint of arbitrary bytes.

public static long Crc64Avro(ReadOnlySpan<byte> data)

Parameters

data ReadOnlySpan<byte>

The bytes to fingerprint, usually a UTF-8 canonical form.

Returns

long

Crc64Avro(AvroSchema)

Gets the CRC-64-AVRO fingerprint of a schema's canonical form (same as Fingerprint64).

public static long Crc64Avro(AvroSchema schema)

Parameters

schema AvroSchema

The schema.

Returns

long