MMDB2 Decoder v0.1.0 MMDB2Decoder.Data View Source

Module for decoding the mmdb2 format byte streams.

Link to this section Summary

Functions

Decodes the datatype found at the given offset of the data

Decodes the node at the given offset

Link to this section Types

Link to this type decoded() View Source
decoded() :: atom() | binary() | boolean() | list() | map()

Link to this section Functions

Link to this function decode(data, arg) View Source
decode(binary(), binary()) :: {decoded(), binary()}

Decodes the datatype found at the given offset of the data.

Link to this function value(data, offset) View Source
value(binary(), non_neg_integer()) :: decoded()

Decodes the node at the given offset.