open fun readValue(): Bytes!
(source)
Read the next value 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
Bytes!: The bytes for the next value.
abstract fun readValue(lenient: Boolean): Bytes!
(source)
Read the next value from the RLP source.
lenient
- Boolean: If false
, an exception will be thrown if the value 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
Bytes!: The bytes for the next value.