ktor-io / io.ktor.utils.io / ByteWriteChannel / writeShort

writeShort

abstract suspend fun writeShort(s: Short): Unit

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