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.
bitLength - the bit length of the integer value
IllegalArgumentException - if the value is too large for the specified bit length