blob: c389afc42ad31d2c99ac6c56893de1d9f78a9249 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
};
|