[Overview][Classes][Procedures and functions][Index] | Reference for unit 'AsyncProcess' (#lcl)

# TAsyncProcess.NumBytesAvailable

Number of output bytes available from the process.

## Declaration

Source position: asyncprocess.pp line 50

`public property TAsyncProcess.NumBytesAvailable : dword read GetNumBytesAvailable;`

## Description

NumBytesAvailable is a read-only dword property that indicates the number of bytes available on the Output handle for the process. GetNumBytesAvailable is the read access specifier for the property value. NumBytesAvailable contains the value in Output.NumBytesAvailable, or 0 (zero) when Options does not contain the value poUsePipes.

Set the values for the Options property prior to calling Execute.

Use OnReadData to respond to the process notification signalled when data is available.

## See also

TAsyncProcess.Execute |  | Executes the process.
TAsyncProcess.OnReadData |  | Event handler signalled when output data is available for the process.
TProcess.Options
TProcess.Output