open fun readByte(): Byte
(source)
Read a byte from the RLP source.
InvalidRLPEncodingException
- If there is an error decoding the RLP source.
EndOfRLPException
- If there are no more RLP values to read.
Return
Byte: The byte for the next value.
open fun readByte(lenient: Boolean): Byte
(source)
Read a byte from the RLP source.
lenient
- Boolean: If false
, an exception will be thrown if the byte is not minimally encoded.
InvalidRLPEncodingException
- If there is an error decoding the RLP source.
EndOfRLPException
- If there are no more RLP values to read.
Return
Byte: The byte for the next value.