tuweni / org.apache.tuweni.ssz / SSZ / decodeInt64

decodeInt64

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

Read a 64-bit two's-compliment 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