public static final void write ( WritableByteChannel ch , String text , Charset charset ) throws IOException { write ( ch , text . getBytes ( charset ) ) ; }
Writes string bytes to channel using charset .