Crate nbt

Crate nbt 

Source
Expand description

MC Named Binary Tag type.

Modules§

de
Deserialize Named Binary Tag data to a Rust data structure.
ser
Serialize a Rust data structure into Named Binary Tag data.

Structs§

Blob
A generic, complete object in Named Binary Tag format.

Enums§

Endianness
Error
Errors that may be encountered when constructing, parsing, or encoding NbtValue and NbtBlob objects.
Value
Values which can be represented in the Named Binary Tag format.

Functions§

from_gzip_reader
Decode an object from Named Binary Tag (NBT) format.
from_reader
Decode an object from Named Binary Tag (NBT) format.
from_zlib_reader
Decode an object from Named Binary Tag (NBT) format.
to_gzip_writer
Encode value in Named Binary Tag format to the given io::Write destination, with an optional header.
to_writer
Encode value in Named Binary Tag format to the given io::Write destination, with an optional header.
to_zlib_writer
Encode value in Named Binary Tag format to the given io::Write destination, with an optional header.

Type Aliases§

Result
A convenient alias type for results when reading/writing the Named Binary Tag format.