first commit
This commit is contained in:
19
Minecraft.World/ZoneIo.h
Normal file
19
Minecraft.World/ZoneIo.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include "ZonedChunkStorage.h"
|
||||
|
||||
class ByteBuffer;
|
||||
|
||||
class ZoneIo
|
||||
{
|
||||
private:
|
||||
HANDLE channel;
|
||||
__int64 pos;
|
||||
|
||||
public:
|
||||
ZoneIo(HANDLE channel, __int64 pos);
|
||||
void write(byteArray bb, int size);
|
||||
void write(ByteBuffer *bb, int size);
|
||||
ByteBuffer *read(int size);
|
||||
|
||||
void flush();
|
||||
};
|
||||
Reference in New Issue
Block a user