tuweni / org.apache.tuweni.ssz / SSZ / decodeUInt64

decodeUInt64

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

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

Parameters

source - Bytes!: the SSZ encoded bytes

Exceptions

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

EndOfSSZException - if there are no more SSZ values to read

Return
Long: an int