Skip to content

TGZFileStream.seek

Set the position in the compressed stream.

Declaration

Source position: zstream.pp line 104

public 
function TGZFileStream.seek(offset: LongInt; origin: Word) : LongInt
                           ;  override;

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

Name Description
TDecompressionStream.Seek Move stream position to a certain location in the stream.