flate2-rs
flate2-rs copied to clipboard
write::GzEncoder doesn't encode a huge buffer
trafficstars
When I pass a 6MiB-buffer it produces an obviously incomplete 60KiB file. It works only when I feed it with smaller chunks (with resulting file of 2MiB).