tuweni / org.apache.tuweni.ssz / SSZ / encodeUInt8List

encodeUInt8List

static fun encodeUInt8List(vararg elements: Int): Bytes! (source)

Encode a list of 8-bit unsigned integers.

Parameters

elements - Int: the integers to write

Exceptions

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

Return
Bytes!: SSZ encoding in a Bytes value

static fun encodeUInt8List(elements: MutableList<Int!>!): Bytes! (source)

Encode a list of 8-bit unsigned integers.

Parameters

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

Exceptions

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

Return
Bytes!: SSZ encoding in a Bytes value