Method Encode
Encode(AvroSchemaId)
Encodes a schema ID as a header value.
public static byte[] Encode(AvroSchemaId schemaId)
Parameters
schemaIdAvroSchemaIdThe schema ID, a GUID (FromGuid(Guid)).
Returns
- byte[]
Exceptions
- ArgumentException
The ID is a number: this header carries GUIDs.