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)
  2. void reset(InputStream stream)
    class ZlibInput
    void
    reset

Meta