flate2-rs
flate2-rs copied to clipboard
DEFLATE, gzip, and zlib bindings for Rust
To make a long story short… I used code examples to load text from Nginx gzipped log file… But 3k lines of text are completely gone after loading it via...
I was trying to use compile my code that uses this library into C++ callable static library using [cxx.rs](https://cxx.rs/) and [corrosion](https://github.com/AndrewGaspar/corrosion) following [this example](https://github.com/trondhe/rusty_cmake). As my code is building, the...
Under the Implementations section, the docs for [`GzDecoder::get_mut()`](https://docs.rs/flate2/latest/flate2/bufread/struct.GzDecoder.html#method.get_mut) say ``` Note that mutation of the stream may result in surprising results if this encoder is continued to be used. ```...
Hello, I would like to enhance the `GzDecoder` with the `std::io::Seek` trait and `std::io::rewind()` capacities, to rewind the file although we might already have uncompressed some data. Is that even...
Background: I have a C-based client application which talks with server side using Websocket with permessage-deflate extension. "deflate 1.12.11" is the lib used to compress and decompress data. I want...
For `GzDecoder.read_exact`, passing a `v = Vec::::with_capacity(5)` as a `&mut [u8]` (via call to `as_mut()`) will result in `Ok(())` yet `v` will have no data (`v.len() == 0`). ### reproduction...
Following up from #283 * Address all remaining clippy issues * Switch `assert!(a==b)` to `assert_eq!(a, b)` * `MAX` instead of `max_value()` expand original clippy messages > warning: this seems like...
Looks like you forgot to run `git push --tags` when releasing ;)
It shouldn't be need in that case.
Hi! In a particular project, I use `flate2` to decompress a ~50MB gzipped tarfile. Whilst in production the project will be built in release mode, the integration tests are performed...