We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8833d12 commit 96ceacbCopy full SHA for 96ceacb
src/dict.rs
@@ -48,7 +48,7 @@ impl<'a> EncoderDictionary<'a> {
48
/// Only available with the `experimental` feature. Use `EncoderDictionary::copy` otherwise.
49
pub fn new(dictionary: &'a [u8], level: i32) -> Self {
50
Self {
51
- cdict: zstd_safe::create_cdict_by_reference(dictionary, level),
+ cdict: zstd_safe::CDict::create_by_reference(dictionary, level),
52
}
53
54
@@ -82,7 +82,7 @@ impl<'a> DecoderDictionary<'a> {
82
/// Only available with the `experimental` feature. Use `DecoderDictionary::copy` otherwise.
83
pub fn new(dict: &'a [u8]) -> Self {
84
85
- ddict: zstd_safe::create_ddict_by_reference(dict),
+ ddict: zstd_safe::DDict::create_by_reference(dict),
86
87
88
0 commit comments