Geolix v0.15.0 Geolix.Adapter.MMDB2.Reader View Source

Module to read mmdb2 database files and split them into data and metadata.

Link to this section Summary

Functions

Reads a database file and returns the data and metadata parts from it

Link to this section Functions

Link to this function read_database(filename) View Source
read_database(String.t()) ::
  {MMDB2Decoder.Metadata.t(), binary(), binary()} |
  {:error, term()}

Reads a database file and returns the data and metadata parts from it.