X-Git-Url: https://git.pterodactylus.net/?p=ecparse.git;a=blobdiff_plain;f=ReaderInput.h;h=ef4389846a44eac0c93fecc5c2533858f99e7873;hp=ec846324f4dc8d985a1a8b5900bc4b52b19f72c9;hb=HEAD;hpb=5f35ee49184899c1bfffe4d788286b7c9b578c00 diff --git a/ReaderInput.h b/ReaderInput.h index ec84632..ef43898 100644 --- a/ReaderInput.h +++ b/ReaderInput.h @@ -11,7 +11,8 @@ class ReaderInput { public: virtual ~ReaderInput(); - virtual int read(void* buffer, size_t length) = 0; + virtual size_t read(void* buffer, size_t length) = 0; + virtual bool isEOF() = 0; };