X-Git-Url: https://git.pterodactylus.net/?p=ecparse.git;a=blobdiff_plain;f=FileReaderInput.h;h=3e451f172ec5ff1cf8e4a25ca6ccf9f0643886f7;hp=4188557a81e4dcc44a90541b112be7fbb820ac09;hb=HEAD;hpb=5f35ee49184899c1bfffe4d788286b7c9b578c00 diff --git a/FileReaderInput.h b/FileReaderInput.h index 4188557..3e451f1 100644 --- a/FileReaderInput.h +++ b/FileReaderInput.h @@ -13,7 +13,8 @@ public: FileReaderInput(FILE *file); ~FileReaderInput(); - int read(void* buffer, size_t length); + size_t read(void* buffer, size_t length); + bool isEOF(); private: FILE* file;