tuweni / org.apache.tuweni.ssz / SSZ / decodeUInt32

decodeUInt32

static fun decodeUInt32(source: Bytes!): Long (source)

Read a 32-bit unsigned integer from the SSZ source.

Parameters

source - Bytes!: the SSZ encoded bytes

Exceptions

InvalidSSZTypeException - if there are insufficient encoded bytes for a 32-bit int

EndOfSSZException - if there are no more SSZ values to read

Return
Long: an int