write

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

Write a string in the specified charset