open fun readInt16(): Int
(source)
Read a 16-bit two's-compliment integer from the SSZ source.
InvalidSSZTypeException
- If there are insufficient encoded bytes for a 16-bit int.
EndOfSSZException
- If there are no more SSZ values to read.
Return
Int: An int.