X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=FileReaderInput.cpp;h=86d5b0fd990237fa0638a4f5f382ff226d3f229c;hb=18463fef6e30ad67e56c99d85ace7639beb7e5d0;hp=14fc0c64adc72ab8173cd89771a240f8429a0e5c;hpb=e1f64147e3eedccbbc59658ddb6cf7992dbd50c1;p=ecparse.git diff --git a/FileReaderInput.cpp b/FileReaderInput.cpp index 14fc0c6..86d5b0f 100644 --- a/FileReaderInput.cpp +++ b/FileReaderInput.cpp @@ -16,5 +16,9 @@ int FileReaderInput::read(void* buffer, size_t length) { size_t readBytes; readBytes = fread(buffer, 1, length, file); - return 0; + return readBytes; +} + +bool FileReaderInput::isEOF() { + return feof(file); }