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



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

TGZFileStream.Seek

Set the position in the compressed stream.

Declaration

Source position: zstream.pp line 103

public function TGZFileStream.Seek(

  Offset: LongInt;

  Origin: Word

):LongInt; override;

Arguments

Offset

  

Number of bytes to position on

Origin

  

Where to start positioning

Function result

New position in the stream

Description

Seek sets the position to Offset bytes, starting from Origin. Not all combinations are possible, see TDecompressionStream.Seek for a list of possibilities.

Errors

In case an impossible combination is asked, an EZlibError exception is raised.

See also

TDecompressionStream.Seek

  

Move stream position to a certain location in the stream.

Notes

 No notes exist for this page yet. 





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