Venom (venom v0.1.0)

Venom - Elixir NBT parser.

Summary

Functions

Decode a binary representing NBT data.

Functions

Link to this function

decode_nbt!(data)

Decode a binary representing NBT data.

Also automatically gunzips any gzip-encoded NBT.

Examples

iex> Venom.decode_nbt!(<<10, 0, 11, 104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 8, 0, 4, 110, 97, 109, 101, 0, 9, 66, 97, 110, 97, 110, 114, 97, 109, 97, 0>>)
%{"hello world" => %{"name" => "Bananrama"}}