tuweni / org.apache.tuweni.ssz / SSZReader / readInt16

readInt16

open fun readInt16(): Int (source)

Read a 16-bit two's-compliment integer from the SSZ source.

Exceptions

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.