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 - the integer to encode

Return
the SSZ encoding in a Bytes value