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

writeUInt16List

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

Write a list of 16-bit unsigned integers.

Parameters

elements - the integers to write as a list

Exceptions

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