writeToStream static method
- CompoundTag tag
Implementation
static Future<Uint8List> writeToStream(CompoundTag tag) async {
_io = ByteLayer();
Tag.writeNamedTag(tag, _io);
return _io.bytes;
}
static Future<Uint8List> writeToStream(CompoundTag tag) async {
_io = ByteLayer();
Tag.writeNamedTag(tag, _io);
return _io.bytes;
}