Initial SNBT implementation

This commit is contained in:
zontreck 2024-05-08 18:52:20 -07:00
parent c10ffc58b8
commit 84b37f8b04
16 changed files with 137 additions and 0 deletions

View file

@ -377,3 +377,22 @@ class ByteLayer {
setBit(position, maskToSet);
}
}
class StringBuilder {
String _buffer = "";
StringBuilder();
void append(String value) {
_buffer += value;
}
void clear() {
_buffer = "";
}
@override
String toString() {
return "${_buffer}";
}
}