pub fn new_zstd(level: u8, dict: Vec<u8>) -> Self {
        let cdict = zstd_safe::create_cdict(&dict, level as i32);
        let ddict = zstd_safe::create_ddict(&dict);
        Self(DictionaryPrivate::Zstd {
            level,
            dict,
            cdict,
            ddict,
        })
    }
/// Create a new ZStandard compression dictionary.
Create a new ZStandard compression dictionary.
Create a new ZStandard compression dictionary .
pub fn new_zstd(level: u8, dict: Vec<u8>) -> Self {
        let cdict = zstd_safe::create_cdict(&dict, level as i32);
        let ddict = zstd_safe::create_ddict(&dict);
        Self(DictionaryPrivate::Zstd {
            level,
            dict,
            cdict,
            ddict,
        })
    }
pub fn new_zstd ( level : u8 , dict : Vec < u8 > ) -> Self { let cdict = zstd_safe :: create_cdict ( & dict , level as i32 ) ; let ddict = zstd_safe :: create_ddict ( & dict ) ; Self ( DictionaryPrivate :: Zstd { level , dict , cdict , ddict , } ) }
Create a new ZStandard compression dictionary.
Create a new ZStandard compression dictionary .
level
u8
dict
Vec<u8>
level
u8
dict
Vec<u8>