Converts an unsigned 16-bit integer (u16) into a Uint8Array.
The number to convert
A Uint8Array containing the serialized u16 value
Will throw an error if the input value is not within the valid u16 range
Generated using TypeDoc
Converts an unsigned 16-bit integer (u16) into a Uint8Array.