open fun writeUInt(value: Int, bitLength: Int): Unit (source)
Write an unsigned integer to the output. Note that the argument value is a native signed int but will be interpreted as an unsigned value.
value - Int: the integer to write
bitLength - Int: the bit length of the integer value
IllegalArgumentException - if the value is too large for the specified bit length