| [Overview][Types][Classes][Index] | 
Set the position in the compressed stream.
Source position: zstream.pp line 96
public function TGZFileStream.seek(  | 
offset: LongInt;  | 
origin: Word  | 
):LongInt; override;  | 
offset  | 
  | 
Number of bytes to position on  | 
origin  | 
  | 
Where to start positioning  | 
New position in the stream
Seek sets the position to Offset bytes, starting from Origin. Not all combinations are possible, see TDecompressionStream.Seek for a list of possibilities.
In case an impossible combination is asked, an EZlibError exception is raised.
  | 
Move stream position to a certain location in the stream.  |