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

TCustomZlibStream.Create

Create a new instance of TCustomZlibStream

Declaration

Source position: zstream.pp line 57

public constructor TCustomZlibStream.Create(

  Strm: TStream

);

Arguments

Strm

  

Instance of the Input/Output stream

Description

Create creates a new instance of TCustomZlibStream. It stores a reference to the input/output stream, and initializes the deflate compression mechanism so they can be used by the descendents.

See also

TCompressionStream

  

Write-only stream class which compresses data written to it.

TDecompressionStream

  

Reads and decompresses data from a compressed data stream.