Method WriteHeader
WriteHeader(Span<byte>, AvroSchemaId)
Writes the header for id.
public void WriteHeader(Span<byte> destination, AvroSchemaId id)
Parameters
destinationSpan<byte>At least HeaderLength bytes.
idAvroSchemaIdThe 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.