Sign in Join
FPDoc Onlineexperiment

TInputPipeStream.NumBytesAvailable property

Member of TInputPipeStreampublicIn unit Pipes

Number of bytes available for reading.

Declaration

pascal
property NumBytesAvailable: DWord read GetNumBytesAvailable;

Description

NumBytesAvailable is the number of bytes available for reading. This is the number of bytes in the OS buffer for the pipe. It is not a number of bytes in an internal buffer.

If this number is nonzero, then reading NumBytesAvailable bytes from the stream will not block the process. Reading more than NumBytesAvailable bytes will block the process, while it waits for the requested number of bytes to become available.

See also

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