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

Tdecompressionstream.Seek

Move stream position to a certain location in the stream.

Declaration

Source position: zstream.pp line 83

public function Tdecompressionstream.Seek(

  const Offset: Int64;

  Origin: TSeekOrigin

):Int64; override;

Arguments

Offset

  

Offset to apply to the position in the stream

Origin

  

Origin from where Offset should be counted.

Function result

New position in the stream

Description

Seek overrides the standard Seek implementation. There are a few differences between the implementation of Seek in Free Pascal compared to Delphi:

Errors

An EDecompressionError exception is raised if the stream does not allow the requested seek operation.

See also

Read

  

Read data from the compressed stream


Documentation generated on: Jun 22 2020