Show: Delphi C++
Display Preferences

System.ZLib.TZDecompressionStream.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(source: TStream); overload;
constructor Create(source: TStream; WindowBits: Integer); overload;
constructor Create(source: TStream; WindowBits: Integer; OwnsStream: Boolean); overload;

C++

__fastcall TZDecompressionStream(System::Classes::TStream* source)/* overload */;
__fastcall TZDecompressionStream(System::Classes::TStream* source, int WindowBits)/* overload */;
__fastcall TZDecompressionStream(System::Classes::TStream* source, int WindowBits, bool OwnsStream)/* overload */;

Properties

Type Visibility Source Unit Parent
constructor public
System.ZLib.pas
System.ZLib.hpp
System.ZLib TZDecompressionStream

Description

Creates and initializes an instance of a TZDecompressionStream object.

The Source parameter is the source input stream, which was previously created with a TZCompressionStream object. Subsequent Read operations will read data from the Source stream, and decompress the data on the fly.

The OwnsStream parameter determines whether the TZDecompressionStream class owns the Source stream or not. If OwnsStream is True, the Source stream is freed on Destroy. Default value is False.

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance