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