[Overview][Types][Classes][Index] Reference for unit 'zstream' (#fcl)

Reference for unit 'zstream'

Support for compression streams

uses

  System,

  Classes,

  zbase,

  gzio;

Overview

The ZStream unit implements a TStream descendent (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 TStream descendent is implemented which reads data from an input stream (TDecompressionStream) and decompresses it with the inflate algorithm.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.