Read and write gzip files easily.

Kamil Slowikowski kslowikowski at gmail.com
Thu Feb 20 09:05:31 PST 2014


On Thursday, 20 February 2014 at 10:35:50 UTC, Stephan Schiffels 
wrote:
> Hi Kamil,
> I am glad someone has the exact same problem as I had. I 
> actually solved this, inspired by the python API you quoted 
> above. I wrote these classes:
> GzipInputRange, GzipByLine, and GzipOut.

Stephan, awesome! Thank you very much for sharing your classes. 
It's nice to see how you've approached this problem. Your code is 
very clear and easy to understand (for me).

Also, I now see the error in my code: I believe I should use 
rawWrite to write compressed data and not writeExact.


More information about the Digitalmars-d mailing list