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