private CoderResult decodeByteBufferToCharacterBuffer(boolean endOfInput) throws DecodingException {
  buffer.flip();
  return decodeMoreBytesToCharacterBuffer(endOfInput);
}

private CoderResult decodeByteBufferToCharacterBuffer ( boolean endOfInput ) throws DecodingException { buffer . flip ( ) ; return decodeMoreBytesToCharacterBuffer ( endOfInput ) ; }
decodes contents of the byte buffer to the character buffer . the character buffer will be replaced by a larger one if required .
