ethers.js/lib.esm/utils/rlp.d.ts

17 lines
571 B
TypeScript
Raw Normal View History

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