Skip to content

TIDEAEncryptStream.Seek

Set stream position.

Declaration

Source position: idea.pp line 104

public 
function TIDEAEncryptStream.Seek(Offset: LongInt; Origin: Word)
                                 : LongInt;  override;

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

Name Description
Write Write bytes to the stream to be encrypted.
EIDEAError Exception for IDEA Stream errors.