nbt v0.2.0 NBT

Parsing functions to convert NBT (Named Binary Tag) data into native Elixir values. This library does not currently handle file management or compression, both of those steps are left to the user.

Link to this section Summary

Functions

Parses a valid NBT binary into a map.

Link to this section Functions

Specs

parse(binary()) :: map()

Parses a valid NBT binary into a map.

Example

iex> NBT.parse(<<8, 4::16, "name", 5::16, "David">>)
%{"name" => "David"}