public static Reader newReader ( ReadableByteChannel ch , String csName ) { checkNotNull ( csName , "csName" ) ; return newReader ( ch , Charset . forName ( csName ) . newDecoder ( ) , - 1 ) ; }
Constructs a reader that decodes bytes from the given channel according to the named charset .