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.
voidreset(InputStream stream, Encoding encoding, int windowBits)
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.