2022-09-15 22:58:45 -04:00
|
|
|
/**
|
2022-11-30 15:44:23 -05:00
|
|
|
* The [[link-rlp]] (RLP) encoding is used throughout Ethereum
|
|
|
|
* to serialize nested structures of Arrays and data.
|
|
|
|
*
|
2022-12-02 21:27:06 -05:00
|
|
|
* @_subsection api/utils:Recursive-Length Prefix [about-rlp]
|
2022-09-15 22:58:45 -04:00
|
|
|
*/
|
2022-09-05 16:57:11 -04:00
|
|
|
export { decodeRlp } from "./rlp-decode.js";
|
|
|
|
export { encodeRlp } from "./rlp-encode.js";
|
2022-11-30 15:44:23 -05:00
|
|
|
/**
|
|
|
|
* An RLP-encoded structure.
|
|
|
|
*/
|
2023-02-02 04:05:47 -05:00
|
|
|
export type RlpStructuredData = string | Array<RlpStructuredData>;
|
2023-10-09 20:27:56 -04:00
|
|
|
/**
|
|
|
|
* An RLP-encoded structure, which allows Uint8Array.
|
|
|
|
*/
|
|
|
|
export type RlpStructuredDataish = string | Uint8Array | Array<RlpStructuredDataish>;
|
2022-09-05 16:57:11 -04:00
|
|
|
//# sourceMappingURL=rlp.d.ts.map
|