It seems that minizip 2.0+ no longer has the ability to write raw (pre-compressed) entries to a zip file. My main use case is copying files from one zip file to another, making changes to certain entries in the process. With minizip 1.2, It was possible to directly copy the compressed data from one file to the other to avoid the CPU overhead of decompression + recompression. This was done by passing 1 for the raw parameter in the unzOpenCurrentFile2 and zipOpenNewFileInZip2_64 functions.
Are there plans for implementing this in minizip 2.0 as well?
EDIT: For reference, this is an example of the raw entry copy I was doing before: https://github.com/chenxiaolong/DualBootPatcher/blob/f561b2d9d60ca793ab0056c74d603689972eaf1b/libmbpatcher/src/private/miniziputils.cpp#L353-L461
It seems that minizip 2.0+ no longer has the ability to write raw (pre-compressed) entries to a zip file. My main use case is copying files from one zip file to another, making changes to certain entries in the process. With minizip 1.2, It was possible to directly copy the compressed data from one file to the other to avoid the CPU overhead of decompression + recompression. This was done by passing
1for therawparameter in theunzOpenCurrentFile2andzipOpenNewFileInZip2_64functions.Are there plans for implementing this in minizip 2.0 as well?
EDIT: For reference, this is an example of the raw entry copy I was doing before: https://github.com/chenxiaolong/DualBootPatcher/blob/f561b2d9d60ca793ab0056c74d603689972eaf1b/libmbpatcher/src/private/miniziputils.cpp#L353-L461