tuweni / org.apache.tuweni.rlp / RLPReader / isLenient

isLenient

abstract fun isLenient(): Boolean (source)

Determine if this reader is lenient by default.

A non-lenient reader will throw InvalidRLPEncodingException from any read method if the source RLP has not used a minimal encoding format for the value.

Return
Boolean: true if the reader is lenient, and false otherwise (default).