Function LimitedInputStream.empty
Returns true iff the end of the input stream has been reached.
bool empty() @property @safe;
For connection oriented streams, this function will block until either new data arrives or the connection got closed.