tuweni / org.apache.tuweni.ssz / SSZWriter / writeULong

writeULong

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

Write an unsigned long to the output. Note that the argument value is a native signed long but will be interpreted as an unsigned value.

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