TInputStream.Available

Returns the known amount of bytes available to read, can be zero which does not indicate the end of the stream.

Source

Stream.Input.pas (32)