It would be useful to have streams that can read or write compressed files, preferably transparently. I.e. a ZlibInputStream could read either compressed or uncompressed data without the user having to know which it is.
Comment #1 by andrei — 2016-10-14T01:03:44Z
I'm putting this for bootcamp, although it's a large-ish project.
Comment #2 by dlang-bugzilla — 2017-07-05T21:17:50Z
Chunk-wise compression has been in std.zlib from the beginning, so I guess thin issue is about adapting it to a certain common interface. std.stream is gone, though, so what would be today's solution? Range of bytes (grossly inefficient)? Range of ranges of bytes?
I think IOPipe is the way forward here, and it already implements ZLib compression/decompression.
Please reopen if you have a specific proposal.