Home
last modified time | relevance | path

Searched refs:MultiGzDecoder (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/flate2/src/gz/
Dread.rs239 pub struct MultiGzDecoder<R> { struct
240 inner: bufread::MultiGzDecoder<BufReader<R>>, argument
243 impl<R: Read> MultiGzDecoder<R> { impl
247 pub fn new(r: R) -> MultiGzDecoder<R> { in new()
248 MultiGzDecoder { in new()
249 inner: bufread::MultiGzDecoder::new(BufReader::new(r)), in new()
254 impl<R> MultiGzDecoder<R> { implementation
279 impl<R: Read> Read for MultiGzDecoder<R> { implementation
286 impl<R: AsyncRead> AsyncRead for MultiGzDecoder<R> {} implementation
288 impl<R: Read + Write> Write for MultiGzDecoder<R> { implementation
[all …]
Dbufread.rs581 pub struct MultiGzDecoder<R>(GzDecoder<R>); struct
583 impl<R: BufRead> MultiGzDecoder<R> { impl
587 pub fn new(r: R) -> MultiGzDecoder<R> { in new()
588 MultiGzDecoder(GzDecoder::new(r).multi(true)) in new()
592 impl<R> MultiGzDecoder<R> { impl
617 impl<R: BufRead> Read for MultiGzDecoder<R> { implementation
624 impl<R: AsyncRead + BufRead> AsyncRead for MultiGzDecoder<R> {} implementation
626 impl<R: BufRead + Write> Write for MultiGzDecoder<R> { implementation
637 impl<R: AsyncWrite + BufRead> AsyncWrite for MultiGzDecoder<R> { implementation
/external/rust/crates/flate2/examples/
Dgzmultidecoder-bufread.rs3 use flate2::bufread::MultiGzDecoder;
20 let mut gz = MultiGzDecoder::new(&bytes[..]); in decode_reader()
Dgzmultidecoder-read.rs3 use flate2::read::MultiGzDecoder;
20 let mut gz = MultiGzDecoder::new(&bytes[..]); in decode_reader()
/external/rust/crates/flate2/src/
Dlib.rs134 pub use crate::gz::read::MultiGzDecoder;
161 pub use crate::gz::bufread::MultiGzDecoder;
175 _assert_send_sync::<read::MultiGzDecoder<&[u8]>>(); in _assert_send_sync()
/external/rust/crates/flate2/tests/
Dgunzip.rs4 use flate2::read::MultiGzDecoder;
65 MultiGzDecoder::new(f).read_to_end(&mut v)?; in extract_file_multi()
Dasync-reader.rs5 use flate2::read::{GzDecoder, MultiGzDecoder};
84 AssertAsync(MultiGzDecoder::new(BadReader::new(f))), in test_multi_gz_asyncread()