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.
Writes Date
objects but ignores all units smaller than the day.
Example:
type.writeValue(buffer, new Date(2001, 0, 1)) //Jan 1st, 2001
The buffer to which to append
The value to write
Generated using TypeDoc
A type storing a specific day in time. The value is stored as a 3-byte signed integer.
Example: