Code example for Inflater

Methods: reset

0
   * Resets everything, including the input buffer, regardless of whether the 
   * current gzip substream is finished.</p> 
   */ 
  public synchronized void reset() { 
    // could optionally emit INFO message if state != GzipStateLabel.FINISHED 
    inflater.reset();
    state = GzipStateLabel.HEADER_BASIC;
    crc.reset();
    userBufOff = userBufLen = 0;
    localBufOff = 0;
    headerBytesRead = 0;
    trailerBytesRead = 0;
    numExtraFieldBytesRemaining = -1;
    hasExtraField = false;
    hasFilename = false;
    hasComment = false;
    hasHeaderCRC = false;
  } 
 
  /** {@inheritDoc} */ 
  public synchronized void end() {