package rlp
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module Rlp
Rlp: Recursive Length Prefix format.
RLP Trees
val rlpInt : int -> trlpInt i encodes i into an RlpData element with big-endian with no zeros in front. Zero is encoded as the empty byte sequence. Raises Invalid_argument when i is negative.
val rlpBigInt : Big_int.big_int -> trlpBigInt is similar to rlpInt.
displayRope t converts the RLP tree t into a JSON-like string (represented as a Rope.t).
val display : t -> stringdisplayRope t converts the RLP tree t into a JSON-like string (represented as a Rope.t).
Encoding and Decoding
encode t encodes the RLP tree structure into a byte string represented as a Rope.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page