Function quartz_nbt::io::write_nbt

source ·
pub fn write_nbt<W: Write>(
    writer: &mut W,
    root_name: Option<&str>,
    root: &NbtCompound,
    flavor: Flavor
) -> Result<(), NbtIoError>
Expand description

Writes the given flavor of NBT data to the given writer. If no root name is provided, and empty string is used.