[Overview][Types][Classes] |
Set the stream position
Source position: iostream.pp line 35
public function TIOStream.Seek( |
Offset: LongInt; |
Origin: Word |
):LongInt; override; |
Offset |
|
Byte offset to position the stream on |
Origin |
|
Where to start the byte offset |
New position of the stream.
Seekoverrides the standard Seekimplementation. Normally, standard input, output and stderr are not seekable. The TIOStreamstream tries to provide seek capabilities for the following limited number of cases:
All other cases will result in a EIOStreamErrorexception.
An EIOStreamErrorexception is raised if the stream does not allow the requested seek operation.
|
Error thrown in case of an invalid operation on a TIOStream. |