/**
  * reset
  *
  * @param input
  * @throws IOException
  */
 public void reset(Reader input) throws IOException {
   super.reset();
   bufferIndex = 0;
   offset = 0;
   dataLen = 0;
   finalOffset = 0;
   ioBuffer.reset(); // make sure to reset the IO buffer!!
 }