Converts an unsigned 32-bit integer (u32) into a Uint8Array.
Will throw an error if the input value is not within the valid u32 range (0 to 4,294,967,295)
A Uint8Array containing the serialized u32 value
The number to convert
Generated using TypeDoc
Converts an unsigned 32-bit integer (u32) into a Uint8Array.
Throws
Will throw an error if the input value is not within the valid u32 range (0 to 4,294,967,295)
Returns
A Uint8Array containing the serialized u32 value