Unit 'Pipes' Package
[Overview][Constants][Classes][Procedures and functions][Index] [#fcl]

TOutputPipeStream.Seek

Sets the position in the stream.

Declaration

Source position: pipes.pp line 57

public function TOutputPipeStream.Seek(

  const Offset: Int64;

  Origin: TSeekOrigin

):Int64; override;

Arguments

Offset

  

Offset, in bytes, starting at Origin.

Origin

  

Where to start counting Offset bytes.

Function result

New position of the stream.

Description

Seek is overridden in TOutputPipeStream. Calling this method will always raise an exception: an output pipe is not seekable.

Errors

An EPipeSeek exception is raised if this method is called.


Documentation generated on: Dec 27 2024