static fun encodeLongIntList(bitLength: Int, vararg elements: Long): Bytes
(source)
Encode a list of two's compliment long 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 encodeLongIntList(bitLength: Int, elements: MutableList<Long>): Bytes
(source)
Encode a list of two's compliment long integers.
bitLength
- the bit length of the encoded integers (must be a multiple of 8)
elements
- the list of Longs to write
IllegalArgumentException
- if any values are too large for the specified bitLength
Return
SSZ encoding in a Bytes value