Rlp.toHex
Decodes a Recursive-Length Prefix (RLP) value into a Hex.Hex
value.
Imports
Named
import { Rlp } from 'ox'
Examples
import { Rlp } from 'ox'
Rlp.toHex('0x8b68656c6c6f20776f726c64')
// 0x68656c6c6f20776f726c64
Definition
function toHex(
value: Bytes.Bytes | Hex.Hex,
): RecursiveArray<Hex.Hex>
Source: src/Rlp.ts
Parameters
value
- Type:
Bytes.Bytes | Hex.Hex
The value to decode.
Return Type
The decoded Hex.Hex
value.
RecursiveArray<Hex.Hex>