TInputStream.AtEnd

Indicates whether the stream has no more bytes to read, when False is returned this does not guarantee that there are more bytes to read. When a stream is blocking a call to AtEnd will block as well.

Source

Stream.Input.pas (33)