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

writeBigIntegerList

open fun writeBigIntegerList(bitLength: Int, vararg elements: BigInteger!): Unit (source)

Write a list of big integers.

Parameters

bitLength - Int: the bit length of each integer

elements - BigInteger!: the integers to write as a list

Exceptions

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

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

Write a list of big integers.

Parameters

bitLength - Int: the bit length of each integer

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

Exceptions

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