Skip to main content

finalize_raw_dict

Function finalize_raw_dict 

Source
pub fn finalize_raw_dict(
    raw_content: &[u8],
    sample_data: &[u8],
    dict_size: usize,
    options: FinalizeOptions,
) -> Result<Vec<u8>>
Available on crate feature dict_builder only.
Expand description

Finalize raw dictionary content into a full zstd dictionary binary (magic + dict_id + entropy tables + offset history + content).