summaryrefslogtreecommitdiff
path: root/src/nbt/nbt.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2023-12-15 23:02:45 -0500
committerFreya Murphy <freya@freyacat.org>2023-12-15 23:02:45 -0500
commit42d1c82a0bfa615b832f5ecc2652edc290bf6e9c (patch)
tree09223f3ca9b54fc3cd5a7cb45180542cc3a8a1ba /src/nbt/nbt.h
parentfix printing arrays (diff)
downloadnbtvis-42d1c82a0bfa615b832f5ecc2652edc290bf6e9c.tar.gz
nbtvis-42d1c82a0bfa615b832f5ecc2652edc290bf6e9c.tar.bz2
nbtvis-42d1c82a0bfa615b832f5ecc2652edc290bf6e9c.zip
add json support and other things
Diffstat (limited to 'src/nbt/nbt.h')
-rw-r--r--src/nbt/nbt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nbt/nbt.h b/src/nbt/nbt.h
new file mode 100644
index 0000000..13c0606
--- /dev/null
+++ b/src/nbt/nbt.h
@@ -0,0 +1,7 @@
+#pragma once
+
+#include "../tag.h"
+#include "../stream.h"
+
+bool nbt_read(tag_t *tag, const stream_t *stream);
+bool nbt_print(const tag_t *tag, const stream_t *stream);