maxmind.db

Members

Classes

Database
class Database

Handles opening, reading and accessing the MaxMind GeoIP database

DatabaseNode
class DatabaseNode

Holds an IP search node of the binary tree

Functions

parseIPv6
ubyte[16] parseIPv6(string address)

Utility function to parse an IPv6 address

Structs

Metadata
struct Metadata

Holds the standard global database metadata

Variables

DATA_SEPARATOR
ulong DATA_SEPARATOR;

The number of padding bytes between the search tree and the data section itself

METADATA_MARKER
ubyte[] METADATA_MARKER;

Constant byte sequence that marks the beginning of the global metadata section

METADATA_MAX_SIZE
ulong METADATA_MAX_SIZE;

Maximum size of the global metadata section at the end of the file

Meta