Sign in Join
FPDoc Onlineexperiment

TIDEAEncryptStream.Seek function

Member of TIDEAEncryptStreampublicIn unit Idea

Set stream position.

Declaration

pascal
function Seek(Offset: LongInt; Origin: Word): LongInt; override

Arguments

Offset

Number of bytes to move stream pointer.

Origin

Where to move stream pointer from.

Function result

New location after seek operation.

Description

Seek return the current position if called with 0 and soFromCurrent as arguments. With all other values, it will always raise an exception, since it is impossible to set the position on an encryption stream.

Errors

An EIDEAError will be raised unless called with 0 and soFromCurrent as arguments.

See also

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