aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/InputStreamReader.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/InputStreamReader.h')
-rw-r--r--Minecraft.World/InputStreamReader.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Minecraft.World/InputStreamReader.h b/Minecraft.World/InputStreamReader.h
new file mode 100644
index 00000000..d26efb0f
--- /dev/null
+++ b/Minecraft.World/InputStreamReader.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "Reader.h"
+
+class InputStream;
+
+class InputStreamReader : public Reader
+{
+private:
+ DataInputStream *stream;
+
+public:
+ InputStreamReader(InputStream *in);
+
+ virtual void close();
+ virtual int read();
+ virtual int read(wchar_t cbuf[], unsigned int offset, unsigned int length);
+}; \ No newline at end of file