zippy icon indicating copy to clipboard operation
zippy copied to clipboard

Support all in-memory operations

Open viega opened this issue 1 year ago • 0 comments

In the in-progress reworking for zip archives, one can no longer read from an arbitrary stream.

Also, while the move to memory mapped files is a great option, there can be cases where a process isn't going to have any write-access to the file system (which would include the file used for the memory map).

It would be preferable to be flexible here, but have good defaults. For instance, I'd love to have you reading from a stream I hand you, and only deflate one file at a time as I ask for them... and I would even like the option to hand you an output stream. That'd give me options to save on memory consumption as well.

viega avatar Feb 25 '23 17:02 viega