Unit 'ZStream' Package
[Overview][Types][Classes][Index] [#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 65

type Tcompressionstream = class(Tcustomzlibstream)

public

  constructor create();

  

Create a new instance of the compression stream.

  destructor destroy; override;

  

Flushes 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.

end;

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: Dec 22 2024