Dictionary Provider
Loads and provides zstd compression dictionaries.
The raw dictionary bytes are fetched through the internal DictionaryLoader (a single commonMain object backed by the generated EmbeddedDictionaries, uniform across every target as of v0.6.0). This provider owns the canonical resource names, the dictionary-ID constants, and the aircraft-vs-non-aircraft selection rule.
Properties
Lazily-loaded bytes of the aircraft dictionary (DICT_ID_AIRCRAFT).
Dictionary ID for the 4 KB aircraft dictionary, used for Air-domain CoT types (3rd type atom = A). Encoded in flags-byte bits 0–5.
Dictionary ID for the 512 KB non-aircraft, proto-trained dictionary — the default for PLI, chat, ground units, shapes, markers, routes, etc. Encoded in flags-byte bits 0–5 of the wire payload.
Reserved flags-byte value (0xFF) meaning the payload is raw, uncompressed TAKPacketV2 protobuf — no zstd, no dictionary. Emitted by the encoder's skip-compress path and by TAK_TRACKER firmware.
Lazily-loaded bytes of the non-aircraft dictionary (DICT_ID_NON_AIRCRAFT).