Converts a signed 32-bit integer (i32) into a Uint8Array.
Will throw an error if the input value is not within the valid i32 range (-2,147,483,648 to 2,147,483,647)
A Uint8Array containing the serialized i32 value
The number to convert
Generated using TypeDoc
Converts a signed 32-bit integer (i32) into a Uint8Array.
Throws
Will throw an error if the input value is not within the valid i32 range (-2,147,483,648 to 2,147,483,647)
Returns
A Uint8Array containing the serialized i32 value