open fun writeInt(value: Int, bitLength: Int): Unit (source)
Write a two's-compliment integer to the output.
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