Lines Matching refs:Compress
22 pub struct Compress { struct
183 impl Compress { implementation
189 pub fn new(level: Compression, zlib_header: bool) -> Compress { in new() argument
190 Compress { in new()
217 ) -> Compress { in new_with_window_bits() argument
222 Compress { in new_with_window_bits()
245 pub fn new_gzip(level: Compression, window_bits: u8) -> Compress { in new_gzip() argument
250 Compress { in new_gzip()
570 use crate::{Compress, FlushCompress};
638 let mut encoder = Compress::new(Compression::default(), true); in set_dictionary_with_zlib_header()
687 let mut encoder = Compress::new(Compression::default(), false); in set_dictionary_raw()
717 let mut encoder = Compress::new_gzip(Compression::default(), 9); in test_gzip_flate()