tuweni / org.apache.tuweni.ssz / SSZWriter / writeLongIntList

writeLongIntList

open fun writeLongIntList(bitLength: Int, vararg elements: Long): Unit (source)
open fun writeLongIntList(bitLength: Int, elements: MutableList<Long>): Unit (source)

Write a list of two's compliment long integers.

Parameters

bitLength - the bit length of the encoded integers (must be a multiple of 8)

elements - the long integers to write as a list

Exceptions

IllegalArgumentException - if any values are too large for the specified bit length