tuweni / org.apache.tuweni.ssz / SSZWriter / writeUInt16List

writeUInt16List

open fun writeUInt16List(vararg elements: Int): Unit (source)

Write a list of 16-bit unsigned integers.

Parameters

elements - Int: the integers to write as a list

Exceptions

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

open fun writeUInt16List(elements: MutableList<Int!>!): Unit (source)

Write a list of 16-bit unsigned integers.

Parameters

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

Exceptions

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