static fun encodeUIntList(bitLength: Int, vararg elements: Int): Bytes!
(source)
Encode a list of unsigned integers. Note that the elements
are native signed ints, but will be interpreted as an unsigned values.
bitLength
- Int: the bit length of the encoded integers (must be a multiple of 8)
elements
- Int: the integers to write
IllegalArgumentException
- if any values are too large for the specified bitLength
Return
Bytes!: SSZ encoding in a Bytes
value
static fun encodeUIntList(bitLength: Int, elements: MutableList<Int!>!): Bytes!
(source)
Encode a list of unsigned integers. Note that the elements
are native signed ints, but will be interpreted as an unsigned values.
bitLength
- Int: the bit length of the encoded integers (must be a multiple of 8)
elements
- MutableList<Int!>!: the integers to write
IllegalArgumentException
- if any values are too large for the specified bitLength