ktor-utils / io.ktor.util.cio / kotlinx.coroutines.io.ByteWriteChannel / write

write

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

Write a string in the specified charset