static fun decodeBigInteger(source: Bytes!): BigInteger!
(source)
Read an RLP encoded big integer from a Bytes
value.
source
- Bytes!: The RLP encoded bytes.
InvalidRLPEncodingException
- If there is an error decoding the RLP source.
Return
BigInteger!: A BigInteger
.
static fun decodeBigInteger(source: Bytes!, lenient: Boolean): BigInteger!
(source)
Read an RLP encoded big integer from a Bytes
value.
source
- Bytes!: The RLP encoded bytes.
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.
Return
BigInteger!: A BigInteger
.