BigIntConverter is a set of functions to convert between BigInt and Uint8Array in both big-endian and little-endian formats.
The implementation performs bounds checking to ensure that the number fits into the provided number of bytes.
A default instance is provided as converter. A utility to create a new instance is provided as create.
Readonly
Signed operations
Big-endian
Little-endian
Unsigned operations
Generated using TypeDoc
BigIntConverter is a set of functions to convert between BigInt and Uint8Array in both big-endian and little-endian formats.
The implementation performs bounds checking to ensure that the number fits into the provided number of bytes.
A default instance is provided as converter. A utility to create a new instance is provided as create.