[][src]Crate fastnbt

fastnbt aims for fast parsing of NBT data from Minecraft: Java Edition. This format is used to store many things in Minecraft.

A serde compatible deserializer can be found in the de module. This deserialiser works on an in-memory &[u8], meaning you need all of the NBT data in memory. This has the advantage of allowing you to avoid memory allocations in some cases. See the de module for more information.

If you require processing a large amount of NBT data that you do not want to keep in memory, or NBT data that you do not know the structure of, you can use the Parser. This does not allow you to deserialize into Rust structs, but does allow low memory footprint processing on NBT data.

Both this and related crates are under one fastnbt Github repository

Modules

de

A conventional serde deserializer module.

error

Structs

Parser

Parser can take any reader and parse it as NBT data. Does not do decompression.

Enums

Error
Tag

The NBT tag. This does not carry the value or the name.

Value

An NBT value.

Functions

dump
find_compound
find_list
skip_compound

Type Definitions

Name
Result