The type of each value in the enum
The type used to serialize the values
The list of possible values
Requires that the buffer be a GrowableBuffer or AppendableStream
The value to assert is an AppendableBuffer
Determines whether the input is a Type with the same class
A value, usually a Type instance
whether this
and otherType
are instances of the same Type class
Appends value bytes to an AppendableBuffer according to the type
Example:
type.writeValue(buffer, CHEETAH)
The buffer to which to append
The value to write
Generated using TypeDoc
A type storing a value in a fixed set of possible values. There can be at most 255 possible values.
Example: