Package com.ning.compress.gzip
package com.ning.compress.gzip
Package that contains optimized stream implementations for working
with GZIP. Internally JDK provided efficient ZLIB codec is used for
actual encoding and decoding.
Code here
adds appropriate reuse to specifically improve handling of relatively
short compressed data; and may also have better support for alternate
operating modes such as "push-style" handling that is needed for
non-blocking ("async") stream processing.
-
ClassDescriptionGZIP-codec-specific "extension" to
BufferRecycler, used for recycling expensive objects.Uncompressorimplementation for uncompressing GZIP encoded data in "push" mode, in which input is not read usingInputStreambut rather pushed to uncompressor in variable length chunks.Optimized variant ofGZIPInputStreamthat reuses underlyingDeflaterinstance}.Enumeration used for keeping track of decoding state within streamOptimized variant ofGZIPOutputStreamthat reuses underlyingDeflaterinstance}.