Sign in Join
FPDoc Onlineexperiment

TGZFileStream.seek function

Member of TGZFileStreampublicIn unit ZStream

Set the position in the compressed stream.

Declaration

pascal
function 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 Seek for a list of possibilities.

Errors

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

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.