Stream.eos

bool eos()

Tests the end-of-stream indicator for stream.

Returns

true on EOS or false otherwise.