InputStream.empty

Returns true iff the end of the input stream has been reached.

For connection oriented streams, this function will block until either new data arrives or the connection got closed.

interface InputStream
@safe @property
bool
empty
()

Meta