ZlibInput.reset

Resets and re-initialises this instance.

If you are creating compression streams inside a loop, you may wish to use this method to re-use a single instance. This prevents the potentially costly re-allocation of internal buffers.

The stream must have already been closed before calling reset.

  1. void reset(InputStream stream, Encoding encoding, int windowBits)
    class ZlibInput
    void
    reset
    (,,
    int windowBits = WINDOWBITS_DEFAULT
    )
  2. void reset(InputStream stream)

Meta