NbtIo class

Constructors

NbtIo.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getByteStream() Stream<int>
getStream() ByteLayer
read(String file, [void onReadListener(int)?]) Future<Tag>
readBase64String(String encoded, [void onReadListener(int)?]) Future<Tag>
readBase64StringCompressed(String encoded, [void onReadListener(int)?]) Future<Tag>
readCompressed(String file, [void onReadListener(int)?]) Future<Tag>
readFromStream(Uint8List list, [void onReadListener(int)?]) Future<Tag>
readFromStreamCompressed(Uint8List list, [void onReadListener(int)?]) Future<Tag>
write(String file, CompoundTag tag, [void onWriteListener(int)?]) Future<void>
writeBase64String(CompoundTag tag, [void onWriteListener(int)?]) Future<String>
writeBase64StringCompressed(CompoundTag tag, [void onWriteListener(int)?]) Future<String>
writeCompressed(String file, CompoundTag tag, [void onWriteListener(int)?]) Future<void>
writeToStream(CompoundTag tag, [void onWriteListener(int)?]) Future<Uint8List>
writeToStreamCompressed(CompoundTag tag, [void onWriteListener(int)?]) Future<Uint8List>
Writes the NBT Data to stream in compressed mode