Class | Description |
---|
DeflaterOutputStream |
This is a special FilterOutputStream deflating the bytes that are
written through it. It uses the Deflater for deflating.
authors of the original java version : Tom Tromey, Jochen Hoenicke
|
InflaterInputStream |
This filter stream is used to decompress data compressed baseInputStream the "deflate"
format. The "deflate" format is described baseInputStream RFC 1951.
This stream may form the basis for other decompression filters, such
as the GzipInputStream .
author of the original java version : John Leuner
|
OutputWindow |
Contains the output from the Inflation process.
We need to have a window so that we can refer backwards into the output stream
to repeat stuff.
author of the original java version : John Leuner
|
StreamManipulator |
This class allows us to retrieve a specified amount of bits from
the input buffer, as well as copy big byte blocks.
It uses an int buffer to store up to 31 bits for direct
manipulation. This guarantees that we can get at least 16 bits,
but we only need at most 15, so this is all safe.
There are some optimizations in this class, for example, you must
never peek more then 8 bits more than needed, and you must first
peek bits before you may drop them. This is not a general purpose
class but optimized for the behaviour of the Inflater.
authors of the original java version : John Leuner, Jochen Hoenicke
|