A schema for enums that preserves the constant names for decoding.
The complete schema definition as a byte array.
Number of bytes required to encode this schema's metadata.
Unique identifier for this schema type within the FateWeaver format.
Encodes the given object into the provided buffer.
Encodes this schema's metadata into the provided buffer.
Calculates the number of bytes required to encode the given object.