Lines Matching refs:DeflateDecoder
168 pub struct DeflateDecoder<R> { struct
169 inner: bufread::DeflateDecoder<BufReader<R>>, argument
172 impl<R: Read> DeflateDecoder<R> { impl
175 pub fn new(r: R) -> DeflateDecoder<R> { in new()
176 DeflateDecoder::new_with_buf(r, vec![0; 32 * 1024]) in new()
183 pub fn new_with_buf(r: R, buf: Vec<u8>) -> DeflateDecoder<R> { in new_with_buf()
184 DeflateDecoder { in new_with_buf()
185 inner: bufread::DeflateDecoder::new(BufReader::with_buf(buf, r)), in new_with_buf()
190 impl<R> DeflateDecoder<R> { implementation
242 impl<R: Read> Read for DeflateDecoder<R> { implementation
249 impl<R: AsyncRead> AsyncRead for DeflateDecoder<R> {} implementation
251 impl<W: Read + Write> Write for DeflateDecoder<W> { implementation
262 impl<R: AsyncWrite + AsyncRead> AsyncWrite for DeflateDecoder<R> { implementation