help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TDecompressionStream

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Reads and decompresses data from a compressed data stream.

Declaration

Source position: zstream.pp line 78

type TDecompressionStream = class(TCustomZlibStream)

public

  constructor Create();

  

Creates a new instance of the TDecompressionStream stream

  destructor Destroy; override;

  

Destroys the TDecompressionStream instance

  function Read(); override;

  

Read data from the compressed stream

  function Write(); override;

  

Write data to the stream

  function Seek(); override;

  

Move stream position to a certain location in the stream.

  property OnProgress;

  

Progress handler

end;

Inheritance

TDecompressionStream

  

Reads and decompresses data from a compressed data stream.

|

TCustomZlibStream

  

Ancestor for compression and decompression classes

|

TOwnerStream

|

TObject

Description

TDecompressionStream performs the inverse operation of TCompressionStream. A read operation reads data from an input stream and decompresses (inflates) the data it as it goes along.

The decompression stream reads it's compressed data from a stream with deflated data. This data can be created e.g. with a TCompressionStream compression stream.

See also

TCompressionStream

  

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505