Function quartz_nbt::io::read_nbt

source ·
pub fn read_nbt<R: Read>(
    reader: &mut R,
    flavor: Flavor
) -> Result<(NbtCompound, String), NbtIoError>
Expand description

Reads the given flavor of NBT data from the given reader, returning the resulting NBT compound and associated root name.