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.
value - Long: the long value to write
bitLength - Int: the bit length of the integer value
IllegalArgumentException - if the value is too large for the specified bit length