add isEOF method
[ecparse.git] / FileReaderInput.cpp
index 14fc0c6..bd08f13 100644 (file)
@@ -18,3 +18,7 @@ int FileReaderInput::read(void* buffer, size_t length) {
        readBytes = fread(buffer, 1, length, file);
        return 0;
 }
+
+bool FileReaderInput::isEOF() {
+       return feof(file);
+}