ssz / org.apache.tuweni.ssz / SSZ / encodeUInt32List

encodeUInt32List

static fun encodeUInt32List(vararg elements: Long): Bytes (source)
static fun encodeUInt32List(elements: MutableList<Long>): Bytes (source)

Encode a list of 32-bit unsigned integers.

Parameters

elements - the integers to write

Exceptions

IllegalArgumentException - if any values are too large to be represented in 32 bits

Return
SSZ encoding in a Bytes value