Expand description
§chunkedge_nbt
A library for encoding and decoding Minecraft’s Named Binary Tag (NBT) format.
§Features
binary: Serialize and deserialize in Java edition’s binary format.snbt: Serialize and deserialize in “stringified” format.preserve_order: Preserve the order of fields inCompounds during insertion and deletion. The iterators onCompoundthen implementDoubleEndedIterator.serde: Adds support forserde.java_string: Adds support for Java-compatible strings via thejava_stringcrate.chunkedge_ident: Adds compatibility with thechunkedge_identcrate.
Modules§
- binary
- Support for serializing and deserializing compounds in Java edition’s binary format.
- compound
- conv
- Zero-cost conversion functions for
chunkedge_nbt. - list
- serde
- snbt
- value
Macros§
- compound
- A convenience macro for constructing
Compounds. - jcompound
- A convenience macro for constructing
Compound<JavaString>s
Structs§
- Compound
- A map type with
Stringkeys andValuevalues. - Error
- Errors that can occur when encoding or decoding binary NBT.
Enums§
Functions§
- from_
binary - Decodes uncompressed NBT binary data from the provided slice.
- from_
network_ binary - Decodes uncompressed network NBT binary data from the provided slice, Network NBT omits the root compound.
- to_
binary - Encodes uncompressed NBT binary data to the provided writer.
- to_
network_ binary - Encodes uncompressed network NBT binary data to the provided writer. Network NBT omits the root compound.