Expand description
Binary layout of an index file.
[0..8] magic b"GEOCODER"
[8..12] format version, u32 le
[12..16] section count, u32 le
[16..] section headers: kind u8, offset u64 le, length u64 le
[...] sections, each aligned to 8 bytesSections are read in place from the memory map, except the FSTs.
Offsets tables hold count + 1 little-endian u64, entry i spanning
offsets[i]..offsets[i + 1].
Structs§
- Meta
- What an index was built with.
- Section
Header