write

suspend fun ByteWriteChannel.write(
    string: String,
    charset: Charset = Charsets.UTF_8
): Unit

Deprecated: This is going to be removed or renamed.

Write a string in the specified charset