Geolix.Decoder
Module for decoding the mmdb2 format byte streams.
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
Specs:
- decode(data :: binary, data_part :: binary) :: {value :: binary, rest :: binary}
Decodes the datatype found at the given offset of the data.
Specs:
- value(data :: binary, offset :: non_neg_integer) :: any
Decodes the node at the given offset.