Completely rework SNBT Parser

(NOTE: ChatGPT Was used for regex only)
This commit is contained in:
zontreck 2024-08-29 06:55:12 -07:00
parent 7c87ef444f
commit 84192c69db
11 changed files with 150 additions and 107 deletions

View file

@ -1,4 +1,3 @@
import 'package:libac_dart/nbt/Stream.dart';
class list {
List<dynamic> _list = [];

View file

@ -28,7 +28,7 @@ class string {
String toString() => value ?? '';
// Conversion to bool
bool toBool() => value != null && value.isNotEmpty;
bool toBool() => value.isNotEmpty;
// Equality operator
@override