Completely rework SNBT Parser
(NOTE: ChatGPT Was used for regex only)
This commit is contained in:
parent
7c87ef444f
commit
84192c69db
11 changed files with 150 additions and 107 deletions
|
@ -1,4 +1,3 @@
|
|||
import 'package:libac_dart/nbt/Stream.dart';
|
||||
|
||||
class list {
|
||||
List<dynamic> _list = [];
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue