static fun encodeInt16List(vararg elements: Int): Bytes
(source)static fun encodeInt16List(elements: MutableList<Int>): Bytes
(source)
Encode a list of 16-bit two's compliment integers.
elements
- the integers to write
IllegalArgumentException
- if any values are too large to be represented in 16 bits
Return
SSZ encoding in a Bytes value