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

TInputPipeStream

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TStream descendent which wraps the read end of a pipe.

Declaration

Source position: pipes.pp line 31

type TInputPipeStream = class(THandleStream)

public

  function Write(); override;

  

Write data to the stream.

  function Seek(); override;

  

Set the current position of the stream

  function Read(); override;

  

Read data from the stream to a buffer.

  property NumBytesAvailable: DWord; [r]

  

Number of bytes available for reading.

end;

Inheritance

TInputPipeStream

  

TStream descendent which wraps the read end of a pipe.

|

THandleStream

|

TStream

|

TObject

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.

See also

TStream

CreatePipeStreams

  

Create a pair of pipe stream.

TOutputPipeStream

  

TStream descendent which wraps the write end of a pipe.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.