Skip to content

TInputPipeStream

TStream descendent which wraps the read end of a pipe.

Declaration

Source position: pipes.pp line 37

type

  TInputPipeStream = class(THandleStream)
  public
    destructor Destroy;
    function Write : LongInt;
    function Seek : Int64;
    function Read : LongInt;
    property NumBytesAvailable: DWord; {r}
  end;

Description

TInputPipeStream is created by the CreatePipeStreams call to represent the reading end of a pipe. It is a TStream descendent which does not allow writing, and which mimics the seek operation.

Properties

Member Visibility Description
NumBytesAvailable read only public Number of bytes available for reading.
See all Properties

Methods

Member Visibility Description
Destroy public Destroy this instance of the input pipe stream.
Read public Read data from the stream to a buffer.
Seek public Set the current position of the stream.
Write public Write data to the stream.
See all Methods

See also

Name Description
TStream
CreatePipeStreams Create a pair of pipe stream.
TOutputPipeStream TStream descendent which wraps the write end of a pipe.