tuweni / org.apache.tuweni.ssz / SSZ / encodeUInt64

encodeUInt64

static fun encodeUInt64(value: Long): Bytes! (source)

Encode a 64-bit unsigned integer to a Bytes value. Note that value is a native signed long, but will be interpreted as an unsigned value.

Parameters

value - Long: the integer to encode

Return
Bytes!: the SSZ encoding in a Bytes value