tuweni / org.apache.tuweni.ssz / SSZ / decodeUInt256

decodeUInt256

static fun decodeUInt256(source: Bytes!): UInt256! (source)

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

Parameters

source - Bytes!: the SSZ encoded bytes

Exceptions

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

EndOfSSZException - if there are no more SSZ values to read

Return
UInt256!: a UInt256