diff options
Diffstat (limited to 'Minecraft.World/NbtIo.h')
| -rw-r--r-- | Minecraft.World/NbtIo.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Minecraft.World/NbtIo.h b/Minecraft.World/NbtIo.h new file mode 100644 index 00000000..c389afc4 --- /dev/null +++ b/Minecraft.World/NbtIo.h @@ -0,0 +1,17 @@ +#pragma once +#include "CompoundTag.h" +#include "Tag.h" +#include "CompoundTag.h" + +class InputStream; + +class NbtIo +{ +public: + static CompoundTag *readCompressed(InputStream *in); + static void writeCompressed(CompoundTag *tag, OutputStream *out); + static CompoundTag *decompress(byteArray buffer); + static byteArray compress(CompoundTag *tag); + static CompoundTag *read(DataInput *dis); + static void write(CompoundTag *tag, DataOutput *dos); +}; |
