View Source locus_mmdb_data_codec (locus v2.3.7)
Link to this section Summary
Functions
Attempts to parse either the Value
or RawValue
(depending on the Raw
flag) at Index
in DataSection
.
Link to this section Types
Specs
index() :: non_neg_integer().
Link to this section Functions
Specs
parse_all(binary(), boolean()) -> [locus_mmdb_data:value() | locus_mmdb_data_raw:value()].
Specs
parse_on_index(Index, DataSection, Raw) -> {Value | RawValue, RemainingData} when Index :: index(), DataSection :: binary(), Raw :: boolean(), Value :: locus_mmdb_data:value(), RawValue :: locus_mmdb_data_raw:value(), RemainingData :: binary().
Attempts to parse either the Value
or RawValue
(depending on the Raw
flag) at Index
in DataSection
.
Link to this function
validate_indices_in_tree(BitArray, VisitedBitArray, MapKeysBitArray, BatchSize, BatchOffset, Data, Journal)
View SourceSpecs
validate_indices_in_tree(locus_shared_bitarray:t(), locus_shared_bitarray:t(), locus_shared_bitarray:t(), pos_integer(), non_neg_integer(), binary(), locus_mmdb_check_journal:t()) -> ok.