the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 19 lines 308 B view raw
1#pragma once 2#include "ZonedChunkStorage.h" 3 4class ByteBuffer; 5 6class ZoneIo 7{ 8private: 9 HANDLE channel; 10 __int64 pos; 11 12public: 13 ZoneIo(HANDLE channel, __int64 pos); 14 void write(byteArray bb, int size); 15 void write(ByteBuffer *bb, int size); 16 ByteBuffer *read(int size); 17 18 void flush(); 19};