rlp.d.ts 571 B

1234567891011121314151617
  1. /**
  2. * The [[link-rlp]] (RLP) encoding is used throughout Ethereum
  3. * to serialize nested structures of Arrays and data.
  4. *
  5. * @_subsection api/utils:Recursive-Length Prefix [about-rlp]
  6. */
  7. export { decodeRlp } from "./rlp-decode.js";
  8. export { encodeRlp } from "./rlp-encode.js";
  9. /**
  10. * An RLP-encoded structure.
  11. */
  12. export type RlpStructuredData = string | Array<RlpStructuredData>;
  13. /**
  14. * An RLP-encoded structure, which allows Uint8Array.
  15. */
  16. export type RlpStructuredDataish = string | Uint8Array | Array<RlpStructuredDataish>;
  17. //# sourceMappingURL=rlp.d.ts.map