private void processInput(boolean endOfInput) throws IOException {
  decoderIn.flip();
  CoderResult coderResult;
  while (true) {
    coderResult=decoder.decode(decoderIn,decoderOut,endOfInput);
    if (coderResult.isOverflow()) {
      flushOutput();
    }
 else     if (coderResult.isUnderflow()) {
      break;
    }
 else {
      throw new IOException("Unexpected coder result");
    }
  }
  decoderIn.compact();
}

private void processInput ( boolean endOfInput ) throws IOException { decoderIn . flip ( ) ; CoderResult coderResult ; while ( true ) { coderResult = decoder . decode ( decoderIn , decoderOut , endOfInput ) ; if ( coderResult . isOverflow ( ) ) { flushOutput ( ) ; } else if ( coderResult . isUnderflow ( ) ) { break ; } else { throw new IOException ( "Unexpected coder result" ) ; } } decoderIn . compact ( ) ; }
decode the contents of the input bytebuffer into a charbuffer .
