code: public static StreamDecoder forDecoder(ReadableByteChannel ch,
                                             CharsetDecoder dec,
                                             int minBufferCap)
      {
          return new StreamDecoder(ch, dec, minBufferCap);
      }
docs: Factory for java.nio.channels.Channels.newReader