bool PlainFile::eof() { assert(valid()); int64_t avail = bufferedLen(); if (avail > 0) { return false; } return getEof(); }
bool ZipFile::eof() { assert(m_gzFile); int64_t avail = bufferedLen(); return avail > 0 ? false : getEof(); }
bool BZ2File::eof() { assert(m_bzFile); return getEof(); }