TASCII85DecoderStream.Seek function
Set stream position.
Declaration
function Seek(aOffset: LongInt; aOrigin: Word): LongInt; override
function Seek(const aOffset: Int64; aOrigin: TSeekOrigin): Int64
; override; overloadArguments
aOffset | Offset from current position (should be zero). |
aOrigin | Origin for seek operation (should be
|
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.
