(object)
| 39 | * Encodes %%object%% as an RLP-encoded [[DataHexString]]. |
| 40 | */ |
| 41 | export function encodeRlp(object) { |
| 42 | let result = "0x"; |
| 43 | for (const v of _encode(object)) { |
| 44 | result += nibbles[v >> 4]; |
| 45 | result += nibbles[v & 0xf]; |
| 46 | } |
| 47 | return result; |
| 48 | } |
| 49 | //# sourceMappingURL=rlp-encode.js.map |
no test coverage detected