AvailableDataSize method

Project: I/O Utility Classes

Unit: PJPipe

Class: TPJPipe

Applies to: ~>1.0

function AvailableDataSize: LongWord;

Description

This method peeks the pipe to get the size of data available for reading from it.

The number of bytes of available data is returned.

An EInOutError exception is raised if there is an error peeking the pipe.