Sign in Join
FPDoc Onlineexperiment

TASCII85DecoderStream.Seek function

Member of TASCII85DecoderStreampublicIn unit Ascii85

Set stream position.

Declaration

pascal
function Seek(aOffset: LongInt; aOrigin: Word): LongInt; override
function Seek(const aOffset: Int64; aOrigin: TSeekOrigin): Int64
 ; override; overload

Arguments

aOffset

Offset from current position (should be zero).

aOrigin

Origin for seek operation (should be soCurrent).

Function result

new position in stream.

Description

Seek sets the stream position. It only allows to set the position to the current position of this file, and returns then the current position. All other arguments will result in an EReadError exception.

Errors

In case the arguments are different from soCurrent and 0, an EReadError exception will be raised.

See also

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