View Source locus_mmdb_data_raw (locus v2.3.6)

API for working with MMDB - raw data representation (it preserves the original type for when it's necessary to distinguish between e.g. {uint32, 0} and {uint16, 0}, which locus_mmdb_data does not allow for.)

Link to this section Summary

Link to this section Types

Specs

array() :: {array, [value()]}.

Specs

boolean_() :: {boolean, locus_mmdb_data:boolean_()}.

Specs

bytes() :: {bytes, locus_mmdb_data:bytes()}.

Specs

double() :: {double, locus_mmdb_data:double()}.

Specs

float_() :: {float, locus_mmdb_data:float_()}.

Specs

int32() :: {int32, locus_mmdb_data:int32()}.

Specs

map_() :: {map, #{locus_mmdb_data:utf8_string() => value()}}.

Specs

uint128() :: {uint128, locus_mmdb_data:uint128()}.

Specs

uint16() :: {uint16, locus_mmdb_data:uint16()}.

Specs

uint32() :: {uint32, locus_mmdb_data:uint32()}.

Specs

uint64() :: {uint64, locus_mmdb_data:uint64()}.

Specs

utf8_string() :: {utf8_string, locus_mmdb_data:utf8_string()}.

Specs

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

Specs

value_tag() ::
    pointer | utf8_string | double | bytes | uint16 | uint32 | map | int32 | uint64 | uint128 |
    array | boolean | float.