Table of Contents

Method WriteHeader

Namespace
AvroSharp.Messages
Assembly
AvroSharp.dll

WriteHeader(Span<byte>, AvroSchemaId)

Writes the header for id.

public void WriteHeader(Span<byte> destination, AvroSchemaId id)

Parameters

destination Span<byte>

At least HeaderLength bytes.

id AvroSchemaId

The schema ID: a number for Confluent and Apicurio, a GUID for Confluent version 1 and AWS Glue.

Exceptions

ArgumentException

The ID is of the wrong kind or out of range for this framing.