[Overview][Types][Classes][Index] 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 55

type Tcompressionstream = class(Tcustomzlibstream) end;

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 write(); override;

  

Write data to the stream

  procedure flush;

  

Flush remaining data to the target stream

  function get_compressionrate;

  

Get the current compression rate

  property OnProgress: Tnotifyevent;

  

Progress handler

Inheritance

Tcompressionstream

  

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

|

Tcustomzlibstream

  

Ancestor for compression and decompression classes

|

TOwnerStream

|

TStream

|

TObject

Description

TCompressionStream


Documentation generated on: Nov 14 2015