Converts an unsigned 128-bit integer (u128) BigInt into a Uint8Array.
Will throw an error if the input value is not within the valid u128 range (0 to 340282366920938463463374607431768211455)
A Uint8Array containing the serialized u128 BigInt value
The BigInt to convert
Generated using TypeDoc
Converts an unsigned 128-bit integer (u128) BigInt into a Uint8Array.
Throws
Will throw an error if the input value is not within the valid u128 range (0 to 340282366920938463463374607431768211455)
Returns
A Uint8Array containing the serialized u128 BigInt value