bignum: {
decode: ((input) => bigint);
encode: ((input, prefix?) => string);
} = ...
Type declaration
-
decode: ((input) => bigint)
-
- (input): bigint
-
Parameters
-
input: string | Uint8Array
Returns bigint
-
encode: ((input, prefix?) => string)
-
- (input, prefix?): string
-
Parameters
-
input: bigint
-
prefix: boolean = false
Returns string