* © 2008 by David Roden <droden@gmail.com>
*/
-#ifndef __ECPARSE_FILEREADERINPUT_H__
-#define __ECPARSE_FILEREADERINPUT_H__
+#pragma once
#include <stdio.h>
#include "ReaderInput.h"
FileReaderInput(FILE *file);
~FileReaderInput();
- int read(void* buffer, size_t length);
+ size_t read(void* buffer, size_t length);
+ bool isEOF();
private:
FILE* file;
};
-#endif
-