init
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* The [[link-rlp]] (RLP) encoding is used throughout Ethereum
|
||||
* to serialize nested structures of Arrays and data.
|
||||
*
|
||||
* @_subsection api/utils:Recursive-Length Prefix [about-rlp]
|
||||
*/
|
||||
|
||||
export { decodeRlp } from "./rlp-decode.js";
|
||||
export { encodeRlp } from "./rlp-encode.js";
|
||||
|
||||
/**
|
||||
* An RLP-encoded structure.
|
||||
*/
|
||||
export type RlpStructuredData = string | Array<RlpStructuredData>;
|
||||
|
||||
/**
|
||||
* An RLP-encoded structure, which allows Uint8Array.
|
||||
*/
|
||||
export type RlpStructuredDataish = string | Uint8Array | Array<RlpStructuredDataish>;
|
||||
|
||||
Reference in New Issue
Block a user