static fun encodeLong(value: Long, bitLength: Int): Bytes
(source)
Encode a two's-compliment long integer to a Bytes value.
bitLength
- the bit length of the integer value (must be a multiple of 8)
IllegalArgumentException
- if the value is too large for the specified bitLength
Return
the SSZ encoding in a Bytes value