locus_mmdb_data (locus v2.3.14)

View Source

API for working with MMDB - data representation

Summary

Types

array/0

-type array() :: [value()].

boolean_/0

-type boolean_() :: boolean().

bytes/0

-type bytes() :: binary().

double/0

-type double() :: float() | '#Inf' | '#-Inf'.

float_/0

-type float_() :: double().

int32/0

-type int32() :: -(1 bsl 31)..1 bsl 31 - 1.

map_/0

-type map_() :: #{unicode:unicode_binary() => value()}.

uint16/0

-type uint16() :: 0..1 bsl 16 - 1.

uint32/0

-type uint32() :: 0..1 bsl 32 - 1.

uint64/0

-type uint64() :: 0..1 bsl 64 - 1.

uint128/0

-type uint128() :: 0..1 bsl 128 - 1.

utf8_string/0

-type utf8_string() :: unicode:unicode_binary().

value/0

-type value() ::
          map_() |
          utf8_string() |
          double() |
          bytes() |
          uint16() |
          uint32() |
          int32() |
          uint64() |
          uint128() |
          array() |
          boolean() |
          float_().