Crate nbt[][src]

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.

Map

A hash map implemented with quadratic probing and SIMD lookup.

Enums

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.

i8_array

This function provides serde serialization support for NBT type ByteArray.

i32_array

This function provides serde serialization support for NBT type IntArray.

i64_array

This function provides serde serialization support for NBT type LongArray.

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 Definitions

Result

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