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

writeLongIntList

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

Write a list of two's compliment long integers.

Parameters

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

elements - Long: the long integers to write as a list

Exceptions

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

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

Write a list of two's compliment long integers.

Parameters

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

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

Exceptions

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