Classes
Class | Description |
---|---|
DeflaterOutputStream | A special stream deflating or compressing the bytes that are written to it. It uses a Deflater to perform actual deflating. Authors of the original java version : Tom Tromey, Jochen Hoenicke |
InflaterInputBuffer | An input buffer customised for use by InflaterInputStream |
InflaterInputStream | This filter stream is used to decompress data compressed using the "deflate" format. The "deflate" format is described in 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 number 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 than 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 |