write

suspend fun ByteWriteChannel.write(src: ByteArray): Unit

Deprecated: Use writeFully instead

suspend fun ByteWriteChannel.write(
    src: ByteArray,
    offset: Int,
    length: Int
): Unit

Deprecated: Use writeFully instead

See java.io.DataOutput.write