Geolix v0.10.1 Geolix.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 :: atom | binary | boolean | list | map
Functions
Specs
decode(data :: binary, data_part :: binary) :: {value :: decoded, rest :: binary}
Decodes the datatype found at the given offset of the data.
Specs
value(data :: binary, offset :: non_neg_integer) :: decoded
Decodes the node at the given offset.