API:System.ZLib.TCompressionStream.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(dest: TStream); overload;
constructor Create(dest: TStream; compressionLevel: TZCompressionLevel; windowBits: Integer); overload;
constructor Create(compressionLevel: TCompressionLevel; dest: TStream); overload;

Properties

Type Visibility Source Unit Parent
constructor public System.ZLib.pas System.ZLib TCompressionStream

Description

Initializes an instance of a TCustomZStream-derived object.

System.ZLib.TCompressionStream.Create inherits from System.ZLib.TCustomZStream.Create. All content below this line refers to System.ZLib.TCustomZStream.Create.

Initializes an instance of a TCustomZStream-derived object.

TCustomZStream is intended to be an abstract base class for your own custom data compression streams. Its constructor is protected; therefore you cannot directly instantiate an instance of this class.

A concrete class derived from TCustomZStream should, in its own public constructor, call the constructor inherited from TCustomZStream.