abstract fun readLong(bitLength: Int): Long
(source)
Read a two's-compliment long value from the SSZ source.
bitLength
- Int: The bit length of the integer to read (a multiple of 8).
InvalidSSZTypeException
- If there are insufficient encoded bytes for the desired bit length, or the decoded value was too large to fit into a long.
EndOfSSZException
- If there are no more SSZ values to read.
Return
Long: A long.