tuweni / org.apache.tuweni.ssz / SSZWriter / writeInt16List

writeInt16List

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

Write a list of 16-bit two's compliment 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 writeInt16List(elements: MutableList<Int!>!): Unit (source)

Write a list of 16-bit two's compliment 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