[Overview][Types][Classes] |
Support for compression streams
uses |
paszlib, |
zbase; |
The ZStreamunit implements a TStreamdescendent (TCompressionStream) which uses the deflate algorithm to compress everything that is written to it. The compressed data is written to the output stream, which is specified when the compressor class is created.
Likewise, a TStreamdescendent is implemented which reads data from an input stream (TDecompressionStream) and decompresses it with the inflate algorithm.