SNBT Serialization now implemented

This commit is contained in:
zontreck 2024-05-08 20:35:08 -07:00
parent 84b37f8b04
commit daf9cb7376
16 changed files with 54 additions and 28 deletions

View file

@ -65,4 +65,12 @@ void main() {
Tag.writeStringifiedNamedTag(ct, sb, 0);
print(sb.toString());
});
test("Read BigTest, Output to SNBT", () async {
CompoundTag ct =
await NbtIo.read("${Directory.current.path}/test/bigtest.nbt");
StringBuilder sb = StringBuilder();
Tag.writeStringifiedNamedTag(ct, sb, 0);
print(sb.toString());
});
}