ZlibOutput.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 or committed before calling reset.

  1. void reset(OutputStream stream, Level level, Encoding encoding, int windowBits)
    class ZlibOutput
    void
    reset
  2. void reset(OutputStream stream, Level level)

Meta