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

TGZFileStream

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

Stream to read/write from a gzip file.

Declaration

Source position: zstream.pp line 82

type TGZFileStream = class(TStream)

protected

  Fgzfile: gzfile;

  Ffilemode: Tgzopenmode;

public

  constructor create();

  

Create a new instance of TGZFileStream

  function read(); override;

  

Read data from the compressed file

  function write(); override;

  

Write data to be compressed

  function seek(); override;

  

Set the position in the compressed stream.

  destructor destroy; override;

  

Removes TGZFileStream instance

end;

Inheritance

TGZFileStream

  

Stream to read/write from a gzip file.

|

TStream

|

TObject

Description

TGZFileStream can be used to read data from a gzip file, or to write data to a gzip file.

See also

TCompressionStream

  

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

TDeCompressionStream

  

Reads and decompresses data from a compressed data stream.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.