Lines Matching refs:encoded
11 let encoded: Vec<u8> = encoder.finish().unwrap(); in deflate_decoder_empty_read() localVariable
12 let mut decoder = flate2::read::DeflateDecoder::new(encoded.as_slice()); in deflate_decoder_empty_read()
24 let mut encoded = Vec::new(); in deflate_encoder_empty_read() localVariable
25 encoder.read_to_end(&mut encoded).unwrap(); in deflate_encoder_empty_read()
26 let mut decoder = flate2::read::DeflateDecoder::new(encoded.as_slice()); in deflate_encoder_empty_read()
37 let encoded: Vec<u8> = encoder.finish().unwrap(); in gzip_decoder_empty_read() localVariable
38 let mut decoder = flate2::read::GzDecoder::new(encoded.as_slice()); in gzip_decoder_empty_read()
50 let mut encoded = Vec::new(); in gzip_encoder_empty_read() localVariable
51 encoder.read_to_end(&mut encoded).unwrap(); in gzip_encoder_empty_read()
52 let mut decoder = flate2::read::GzDecoder::new(encoded.as_slice()); in gzip_encoder_empty_read()
63 let encoded: Vec<u8> = encoder.finish().unwrap(); in zlib_decoder_empty_read() localVariable
64 let mut decoder = flate2::read::ZlibDecoder::new(encoded.as_slice()); in zlib_decoder_empty_read()
76 let mut encoded = Vec::new(); in zlib_encoder_empty_read() localVariable
77 encoder.read_to_end(&mut encoded).unwrap(); in zlib_encoder_empty_read()
78 let mut decoder = flate2::read::ZlibDecoder::new(encoded.as_slice()); in zlib_encoder_empty_read()