tuweni / org.apache.tuweni.rlp / RLPReader / skipNext

skipNext

open fun skipNext(): Unit (source)

Skip the next value or list in the RLP source.

Exceptions

InvalidRLPEncodingException - If there is an error decoding the RLP source.

EndOfRLPException - If there are no more RLP values to read.

abstract fun skipNext(lenient: Boolean): Unit (source)

Skip the next value or list in the RLP source.

Parameters

lenient - Boolean: If false, an exception will be thrown if the integer is not minimally encoded.

Exceptions

InvalidRLPEncodingException - If there is an error decoding the RLP source.

EndOfRLPException - If there are no more RLP values to read.