[Overview][Constants][Classes][Procedures and functions] Reference for unit 'Pipes' (#fcl)

TOutputPipeStream.Seek

Sets the position in the stream

Declaration

Source position: pipes.pp line 42

public function TOutputPipeStream.Seek(

  Offset: LongInt;

  Origin: Word

):LongInt; override;

Arguments

Offset

  

Offset, in bytes, starting at Origin

Origin

  

Where to start counting Offsetbytes.

Function result

New position of the stream.

Description

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

Errors

An EPipeSeekexception is raised if this method is called.