Module quartz_nbt::io
source · Expand description
Provides efficient serializer and deserializer implementations for arbitrary NBT tag trees. The
functions in this module should be used for serializing and deserializing NbtCompound
s
over the utilities provided by serde.
Enums§
- Describes the flavors of NBT data: uncompressed, Zlib compressed and Gz compressed.
- Describes an error which occurred during the reading or writing of NBT data.
Functions§
- Reads the given flavor of NBT data from the given reader, returning the resulting NBT compound and associated root name.
- Writes the given flavor of NBT data to the given writer. If no root name is provided, and empty string is used.