Skip to main content

encode_dedup_map

Function encode_dedup_map 

Source
pub fn encode_dedup_map(back_refs: &[u32]) -> Vec<u8> ⓘ
Expand description

serialize the back-reference array: a version byte then an intpack (encoding-id-4 primitive, reused) packing of the u32 refs as u64. a pure function of the refs, so two builds are byte-identical.