Skip to content

TASCII85DecoderStream.Seek

Set stream position.

Declaration

Source position: ascii85.pp line 77

public 
function Seek(aOffset: LongInt; aOrigin: Word) : LongInt;  override;

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

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

Name Description
TASCII85DecoderStream.Read Read data from stream.