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