static fun encodeBigIntegerList(bitLength: Int, vararg elements: BigInteger): Bytes
(source)
Encode a list of big integers.
bitLength
- The bit length of the encoded integers (must be a multiple of 8).
elements
- The integers to write.
IllegalArgumentException
- If any values are too large for the specified bitLength
.
Return
SSZ encoding in a Bytes value.
static fun encodeBigIntegerList(bitLength: Int, elements: MutableList<BigInteger>): Bytes
(source)
Encode a list of big integers.
bitLength
- The bit length of the encoded integers (must be a multiple of 8).
elements
- The list of BigIntegers to write.
IllegalArgumentException
- If any values are too large for the specified bitLength
.
Return
SSZ encoding in a Bytes value.