luizirber / niffler

Simple and transparent support for compressed files.
Apache License 2.0
75 stars 7 forks source link

Track and provide access to "bytes_in" and "bytes_out" #50

Open dralley opened 3 years ago

dralley commented 3 years ago

So that it's easy for one to see how many bytes have been written (compressed size) and from how many input bytes (decompressed size).

natir commented 3 years ago

Hello thanks for your issue,

Sorry I'm not sure to understand your idea what you want?

dralley commented 3 years ago

I'd like to write a compressed file, and at the end of that process, know how large the file is, both compressed and uncompressed. The former is easy enough to measure by looking at the size of the compressed file, but the latter is impossible without some kind of wrapper in front of the compression.