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

encodeUInt32List

static fun encodeUInt32List(vararg elements: Long): Bytes! (source)

Encode a list of 32-bit unsigned integers.

Parameters

elements - Long: the integers to write

Exceptions

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

Return
Bytes!: SSZ encoding in a Bytes value

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

Encode a list of 32-bit unsigned integers.

Parameters

elements - MutableList<Long!>!: the integers to write

Exceptions

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

Return
Bytes!: SSZ encoding in a Bytes value