Geolix.Decoder

Module for decoding the mmdb2 format byte streams.

Source

Summary

decode(data, arg2)

Decodes the datatype found at the given offset of the data

value(data, offset)

Decodes the node at the given offset

Functions

decode(data, arg2)

Specs:

  • decode(data :: binary, data_part :: binary) :: {value :: binary, rest :: binary}

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

Source
value(data, offset)

Specs:

  • value(data :: binary, offset :: non_neg_integer) :: any

Decodes the node at the given offset.

Source