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



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

TCompressionStream

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

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

Declaration

Source position: zstream.pp line 62

type TCompressionStream = class(TCustomZlibStream)

public

  constructor Create();

  

Create a new instance of the compression stream.

  destructor Destroy; override;

  

Flushe data to the output stream and destroys the compression stream.

  function Read(); override;

  

Overridden to raise an exception.

  function Write(); override;

  

Write data to the stream

  function Seek(); override;

  

Overrides seek to raise an exception.

  property CompressionRate: extended; [r]

  

Running compression rate of compression stream

  property OnProgress;

  

Progress handler

end;

Inheritance

TCompressionStream

  

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

|

TCustomZlibStream

  

Ancestor for compression and decompression classes

|

TOwnerStream

|

TObject

Description

TCompressionStream

Notes

 No notes exist for this page yet. 





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