static fun decodeUInt16(source: Bytes!): Int
(source)
Read a 16-bit unsigned integer from the SSZ source.
source
- Bytes!: the SSZ encoded bytes
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