2022-11-27 21:50:34 -05:00
|
|
|
/**
|
|
|
|
* The [[link-rlp]] (RLP) encoding is used throughout Ethereum
|
|
|
|
* to serialize nested structures of Arrays and data.
|
|
|
|
*
|
2022-12-02 21:23:13 -05:00
|
|
|
* @_subsection api/utils:Recursive-Length Prefix [about-rlp]
|
2022-11-27 21:50:34 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
export { decodeRlp } from "./rlp-decode.js";
|
|
|
|
export { encodeRlp } from "./rlp-encode.js";
|
2022-09-05 16:14:43 -04:00
|
|
|
|
2022-09-09 03:37:38 -04:00
|
|
|
/**
|
|
|
|
* An RLP-encoded structure.
|
|
|
|
*/
|
2022-09-05 16:14:43 -04:00
|
|
|
export type RlpStructuredData = string | Array<RlpStructuredData>;
|
|
|
|
|