tuweni / org.apache.tuweni.ssz / SSZWriter / writeBigIntegerList

writeBigIntegerList

open fun writeBigIntegerList(bitLength: Int, vararg elements: BigInteger): Unit (source)
open fun writeBigIntegerList(bitLength: Int, elements: MutableList<BigInteger>): Unit (source)

Write a list of big integers.

Parameters

bitLength - the bit length of each integer

elements - the integers to write as a list

Exceptions

IllegalArgumentException - if an integer cannot be stored in the number of bytes provided