guzba / zippy

Pure Nim implementation of deflate, zlib, gzip and zip.
MIT License
246 stars 29 forks source link

Reading gzipped file without loading it into memory #27

Closed telatin closed 2 years ago

telatin commented 2 years ago

Hi there, thanks for this library!

At the moment I would be particularly interested in reading "gzipped" files but I didn't find the corresponding documentation. In particular, I need to read large files that would not fit in memory, either as streams or line by line.

Could you please help me with this? Thank you very much

Andrea

guzba commented 2 years ago

Hello. Currently, Zippy operates on data entirely in memory so working with data larger than will fit in memory is not yet possible. In the future I would like to support a streaming operation which would enable this, but it is not here today.

telatin commented 2 years ago

Cool thanks!