Sign in Join
FPDoc Onlineexperiment

TOutputPipeStream.Seek function

Member of TOutputPipeStreampublicIn unit Pipes

Sets the position in the stream.

Declaration

pascal
function 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.