/** * Closes the compressor and discards any unprocessed input. * This method should be called when the compressor is no longer * being used, but will also be called automatically by the * finalize() method. Once this method is called, the behavior * of the IntelDeflater object is undefined. */ @Override public void end() { if(lz_stream != 0) { endNative(); lz_stream = 0; } } }