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

TDecompressionStream.Create

Creates a new instance of the TDecompressionStreamstream

Declaration

Source position: zstream.pp line 84

public constructor TDecompressionStream.Create(

  ASource: TStream

);

Arguments

ASource

  

Stream with compressed data

Description

Createcreates and initializes a new instance of the TDecompressionStreamclass. It calls the inherited Createand passes it the Sourcestream. The source stream is the stream from which the compressed (deflated) data is read.

Note that the source stream is by default not owned by the decompression stream, and is not freed when the decompression stream is destroyed.

See also

Destroy

  

Destroys the TDecompressionStreaminstance