rust-lang / flate2-rs

DEFLATE, gzip, and zlib bindings for Rust
https://docs.rs/flate2
Apache License 2.0
895 stars 161 forks source link

Add decompress file example #329

Closed MichaelMcDonnell closed 1 year ago

MichaelMcDonnell commented 1 year ago

There was already an example of how to compress a file but no example of how to decompress a file. This example more or less copies the compression example but does decompression instead.

It solves issue #294 where someone wanted an example like this.

MichaelMcDonnell commented 1 year ago

Thanks for merging!