RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TZCompressionStream.Create Constructor (TCompressionLevel, TStream)

Creates and initializes an instance of a TZCompressionStream object.

Pascal
constructor Create(dest: TStream; compressionLevel: TZCompressionLevel = zcDefault); overload;
constructor Create(compressionLevel: TCompressionLevel; dest: TStream); overload;
C++
__fastcall TZCompressionStream(TStream dest, TZCompressionLevel compressionLevel = zcDefault);
__fastcall TZCompressionStream(TCompressionLevel compressionLevel, TStream dest);

Call Create to instantiate a TZCompressionStream object.  

The CompressionLevel parameter determines the type of compression algorithm to be used, and must be one of the following: clNone, clFastest, clDefault, or clMax. 

The Dest parameter is a TStream object; compressed data will be written to this stream. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!