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/2
encode_compound/1*
encode_string/1*
encode_tag/2*
encode_value/2*
tag_type_to_id/1*

Function Details

encode/2

encode(Nbt::erl_nbt:nbt(), Options::list()) -> {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()

encode_value/2 *

encode_value(X1, Value) -> any()

tag_type_to_id/1 *

tag_type_to_id(Type) -> any()


Generated by EDoc