- channel
- the Channel to be written to.
- charsetName
- the name of the charset.
Documentation for this section has not yet been entered.
Type Reason Java.Nio.Charset.UnsupportedCharsetException if the given charset name is not supported.
Returns a writer that encodes characters with the specified encoder and sends the bytes to the specified channel. This method creates a writer with a buffer of default size.