writeInt

open suspend fun writeInt(i: Int): Unit

Overrides ByteWriteChannel.writeInt

Writes int number and suspends until written. Crashes if channel get closed while writing.