Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 libzip 压缩文件,我似乎成功了,但我似乎无法找到一种方法来更改我必须重新实现的压缩级别(zip 工具支持从 1(最快压缩速度)到 9(最小存档)的值) . 有没有办法这样做?
请参阅ZIP_CM_*中的定义zip.h,struct zip_stat以及及其comp_method字段。
ZIP_CM_*
zip.h
struct zip_stat
comp_method