projects
/
ecparse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
start implementation of binary parsing
[ecparse.git]
/
FileReaderInput.h
diff --git
a/FileReaderInput.h
b/FileReaderInput.h
index
4398bbf
..
3e451f1
100644
(file)
--- a/
FileReaderInput.h
+++ b/
FileReaderInput.h
@@
-2,8
+2,7
@@
* © 2008 by David Roden <droden@gmail.com>
*/
* © 2008 by David Roden <droden@gmail.com>
*/
-#ifndef __ECPARSE_FILEREADERINPUT_H__
-#define __ECPARSE_FILEREADERINPUT_H__
+#pragma once
#include <stdio.h>
#include "ReaderInput.h"
#include <stdio.h>
#include "ReaderInput.h"
@@
-14,12
+13,11
@@
public:
FileReaderInput(FILE *file);
~FileReaderInput();
FileReaderInput(FILE *file);
~FileReaderInput();
- int read(void* buffer, size_t length);
+ size_t read(void* buffer, size_t length);
+ bool isEOF();
private:
FILE* file;
};
private:
FILE* file;
};
-#endif
-