Closed georeth closed 1 year ago
Other decoders in bufread
mod consumes a BufRead
.
I think GzDecoder
's documentation should be fixed.
Thanks a lot for pointing out this error. Would you like to become a contributor? I'd appreciate your help with a fix. Thanks for your consideration.
Sure. I will create a pull request to fix the doc when I'm back at a keyboard.
The document says:
https://github.com/rust-lang/flate2-rs/blob/f285e9abac98aa4f0a15d2e79993a261f166056c/src/gz/bufread.rs#L22-L24
but
flate2::bufread::GzDecoder
only implementRead
.https://github.com/rust-lang/flate2-rs/blob/f285e9abac98aa4f0a15d2e79993a261f166056c/src/gz/bufread.rs#L281
BufRead
interface is not implemented and exposed.