@Override public void write(byte[] b,int off,int len) throws IOException {
  while (len > 0) {
    int c=Math.min(len,decoderIn.remaining());
    decoderIn.put(b,off,c);
    processInput(false);
    len-=c;
    off+=c;
  }
  if (writeImmediately) {
    flushOutput();
  }
}

@ Override public void write ( byte [ ] b , int off , int len ) throws IOException { while ( len > 0 ) { int c = Math . min ( len , decoderIn . remaining ( ) ) ; decoderIn . put ( b , off , c ) ; processInput ( false ) ; len -= c ; off += c ; } if ( writeImmediately ) { flushOutput ( ) ; } }
write bytes from the specified byte array to the stream .
