help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TInputPipeStream.NumBytesAvailable

Number of bytes available for reading.

Declaration

Source position: pipes.pp line 41

public property TInputPipeStream.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

TInputPipeStream.Read

  

Read data from the stream to a buffer.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505