NbtIo class

Constructors

NbtIo()

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)?]) Tag
readBase64StringCompressed(String encoded, [void onReadListener(int)?]) Tag
readCompressed(String file, [void onReadListener(int)?]) Future<Tag>
readCompressedSync(String file, [void onReadListener(int)?]) Tag
readFromStream(Uint8List list, [void onReadListener(int)?]) Tag
readFromStreamCompressed(Uint8List list, [void onReadListener(int)?]) Tag
readSync(String file, [void onReadListener(int)?]) Tag
write(String file, CompoundTag tag, [void onWriteListener(int)?]) Future<void>
writeBase64String(CompoundTag tag, [void onWriteListener(int)?]) String
writeBase64StringCompressed(CompoundTag tag, [void onWriteListener(int)?]) String
writeCompressed(String file, CompoundTag tag, [void onWriteListener(int)?]) Future<void>
writeCompressedSync(String file, CompoundTag tag, [void onWriteListener(int)?]) → void
writeSync(String file, CompoundTag tag, [void onWriteListener(int)?]) → void
writeToStream(CompoundTag tag, [void onWriteListener(int)?]) Uint8List
writeToStreamCompressed(CompoundTag tag, [void onWriteListener(int)?]) Uint8List
Writes the NBT Data to stream in compressed mode