Geolix v0.11.0 Geolix.Adapter.MMDB2.Decoder

Module for decoding the mmdb2 format byte streams.

Summary

Functions

Decodes the datatype found at the given offset of the data

Decodes the node at the given offset

Types

decoded()
decoded() :: atom | binary | boolean | list | map

Functions

decode(data, arg)
decode(binary, binary) :: {decoded, binary}

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

value(data, offset)
value(binary, non_neg_integer) :: decoded

Decodes the node at the given offset.