schema

open val schema: ByteArray

The complete schema definition as a byte array.

This property provides the binary representation of the schema metadata that gets written to log files. The format always begins with the tag followed by any schema-specific metadata.

Default Implementation: For simple schemas, this just encodes the tag as a 4-byte integer. Complex schemas override this to include additional metadata such as field definitions, element types, etc.

Format:

[4 bytes: tag] [variable: schema-specific metadata]