mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-10 23:07:13 +00:00
17 lines
460 B
C++
17 lines
460 B
C++
#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);
|
|
};
|