writer

fun ByteWriteChannel.writer(charset: Charset = Charsets.UTF_8): Writer

Open a writer to the channel