Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
576 B · 17 lines
C
at master
1234567891011121314151617#pragma once// 4J Stu - We are not using GZIP compression, so this is just a pass through class
#include "OutputStream.h"
class GZIPOutputStream : public OutputStream{private: OutputStream *stream;public: GZIPOutputStream( OutputStream *out ) : stream( out ) {}; virtual void write(unsigned int b) { stream->write( b ); }; virtual void write(byteArray b) { stream->write( b ); } ; virtual void write(byteArray b, unsigned int offset, unsigned int length) { stream->write(b, offset, length); }; virtual void close() { stream->close(); }; virtual void flush() {}};