External module "utils/rlp"
Type aliases
Input
Input
: Buffer | string | number | bigint | Input[]
Functions
Const numberToHex
- numberToHex(n: number | bigint): string
-
Parameters
Returns string
Const rlpEncode
- rlpEncode(input: Input): Buffer
-
Parameters
Returns Buffer
Const rlpEncodeLength
- rlpEncodeLength(length: number, offset: number): Buffer
-
Parameters
-
length: number
-
offset: number
Returns Buffer
Const rlpNumberToBuffer
- rlpNumberToBuffer(n: number | bigint): Buffer
-
Parameters
Returns Buffer
Const rlpParseInput
- rlpParseInput(input: Input): Buffer
-
Parameters
Returns Buffer
Get a number as hexadecimal string, padded with extra zero if necessary.