Unit 'Pipes' Package
[Overview][Constants][Classes][Procedures and functions][Index] [#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 37

type TInputPipeStream = class(THandleStream)

public

  destructor Destroy; override;

  

Destroy this instance of the input pipe stream.

  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.


Documentation generated on: Dec 22 2024