tuweni / org.apache.tuweni.ssz / SSZWriter / writeLong

writeLong

open fun writeLong(value: Long, bitLength: Int): Unit (source)

Write a two's-compliment long to the output.

Parameters

value - Long: the long value to write

bitLength - Int: the bit length of the integer value

Exceptions

IllegalArgumentException - if the value is too large for the specified bit length