pub fn write_file(
dict: &Dictionary,
index: &GraphIndex,
has_quads: bool,
pyramid_meta: &[u8],
pyramid_levels: u16,
) -> Vec<u8> ⓘExpand description
Serialize a complete .rete file image from a dictionary, index, and an
(optionally empty) encoded pyramid-meta section. pyramid_levels records the
number of dendrogram rounds the pyramid spans (0 if no pyramid).
The image is format 0x06, the one layout every writer produces (the
legacy 0x05 image is [write_file_v05]).