flate2-rs icon indicating copy to clipboard operation
flate2-rs copied to clipboard

write::GzEncoder doesn't encode a huge buffer

Open ababo opened this issue 4 years ago • 0 comments
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).

ababo avatar Apr 24 '21 14:04 ababo