Recursive Length Prefix (RLP) encoding and decoding.
An implementation of the Ethereum Recursive Length Prefix (RLP) algorithm, as described at https://github.com/ethereum/wiki/wiki/RLP.
These classes are included in the complete Tuweni distribution, or separately when using the gradle dependency org.apache.tuweni:tuweni-rlp
(tuweni-rlp.jar
).
class RLP
Recursive Length Prefix (RLP) encoding and decoding. |
|
interface RLPReader
A reader for consuming values from an RLP encoded source. |
|
interface RLPWriter
A writer for encoding values to RLP. |
open class EndOfRLPException : RLPException
Indicates the end of the RLP source has been reached unexpectedly. |
|
open class InvalidRLPEncodingException : RLPException
Indicates that invalid RLP encoding was encountered. |
|
open class InvalidRLPTypeException : RLPException
Indicates that an unexpected type was encountered when decoding RLP. |
|
open class RLPException : RuntimeException
Base type for all RLP encoding and decoding exceptions. |