tuweni / org.apache.tuweni.ssz / SSZWriter / writeULongIntList

writeULongIntList

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

Write a list of unsigned long integers. Note that the elements are native signed longs, but will be interpreted as an unsigned values.

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 writeULongIntList(bitLength: Int, elements: MutableList<Long!>!): Unit (source)

Write a list of unsigned long integers. Note that the elements are native signed longs, but will be interpreted as an unsigned values.

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