An NBT decoder written in pure Elixir
First, add Venom to your mix.exs
dependencies:
def deps do
[
{:venom, "~> 0.1.0"}
]
end
Then, update your dependencies:
$ mix deps.get
iex> Venom.decode_nbt!(File.read!("hello_world.nbt"))
%{"hello world" => %{"name" => "Bananrama"}}
- Encoding support
The docs can be found at https://hexdocs.pm/venom.