Module erl_nbt_encode

Provides encoding functions for NBT data.

Copyright © (C) 2021 hypothermic.nl

Authors: Matthijs Bakker (matthijs at hypothermic .nl).

Description

Provides encoding functions for NBT data

Function Index

encode/1
encode_compound/1*
encode_string/1*
encode_tag/2*

Function Details

encode/1

encode(Nbt::erl_nbt:nbt()) -> {ok, Binary::binary()} | {error, {invalid_nbt, Details::string()}}

encode_compound/1 *

encode_compound(Nbt) -> any()

encode_string/1 *

encode_string(String) -> any()

encode_tag/2 *

encode_tag(Key, Value) -> any()


Generated by EDoc