The purpose of RLP (Recursive Length Prefix) is to encode arbitrarily nested arrays of binary data, and RLP is the main encoding method used to serialize objects in Ethereum.
Questions tagged [rlp]
57 questions
3
votes
2 answers
RLP ethereum decoding
Hi!
I have some data, like this ( 827ab7 ), encoding RLP.
How I can to know, what is it (string, list or int)?
Andrey
- 31
- 2
2
votes
1 answer
Confusion over RLP encoding for byte array > 55 bytes
I am reading through the wiki on RLP (https://github.com/ethereum/wiki/wiki/RLP) and think I am missing something fundamental.
For byte arrays (not lists) greater than 55 bytes, the RLP encoding is 0xb7 plus the length in bytes of the byte array…
jojeyh
- 769
- 3
- 8
0
votes
1 answer
Why a length-1024 string of RLP encoding is \xb9\x04\x00?
In the Ethereum wiki RLP page,
If a string is more than 55 bytes long, the RLP encoding consists of a single byte with value 0xb7 plus the length in bytes of the length of the string in binary form, followed by the length of the string, followed by…
Stonpid
- 103
- 2