tuweni / org.apache.tuweni.ssz / SSZReader / readUInt16

readUInt16

open fun readUInt16(): Int (source)

Read a 16-bit unsigned 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.