mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftConsoles-141217.git
synced 2026-10-22 21:22:19 +01:00
Initial commit
This commit is contained in:
commit
2dfcaaa842
5375 files changed
+978475
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
// 4J Stu - We are not using GZIP compression, so this is just a pass through class
|
||||
|
||||
#include "InputStream.h"
|
||||
|
||||
class GZIPInputStream : public InputStream
|
||||
{
|
||||
private:
|
||||
InputStream *stream;
|
||||
public:
|
||||
GZIPInputStream( InputStream *out ) : stream( out ) {};
|
||||
virtual int read() { return stream->read(); };
|
||||
virtual int read(byteArray b) { return stream->read( b ); };
|
||||
virtual int read(byteArray b, unsigned int offset, unsigned int length) { return stream->read(b, offset, length); };
|
||||
virtual void close() { return stream->close(); };
|
||||
virtual __int64 skip(__int64 n) { return 0; };
|
||||
};
|
||||
Reference in new issue
Block a user