[Overview][Constants][Classes][Procedures and functions] |
Set the current position of the stream
Source position: pipes.pp line 36
public function TInputPipeStream.Seek( |
Offset: LongInt; |
Origin: Word |
):LongInt; override; |
Offset |
|
Offset, in bytes, starting at Origin |
Origin |
|
Where to start counting Offsetbytes. |
New position of the stream.
Seekoverrides the standard Seekimplementation. Normally, pipe streams stderr are not seekable. The TInputPipeStreamstream tries to provide seek capabilities for the following limited number of cases:
All other cases will result in a EPipeSeekexception.
An EPipeSeekexception is raised if the stream does not allow the requested seek operation.
|
Exception raised when an invalid seek operation is attempted on a pipe. |
|