【7zip】使用7zip三方库,只能压缩,解压失败

7zip来源:https://gitee.com/huangminzhong/document/tree/master/p7zip#%E4%BA%8C%E4%BF%AE%E6%94%B9%E6%BA%90%E7%A0%81

使用7zip三方库,只能压缩,解压失败。

HarmonyOS
2024-06-07 09:42:25
浏览
收藏 0
回答 1
回答 1
按赞同
/
按时间
你牙上有菜

拉取仓库上面最新的代码,https://gitee.com/openharmony-sig/tpc_c_cplusplus/tree/master/thirdparty/libarchive7z格式的压缩和解压缩api可以参考该库生成的可执行程序bsdtar的实现逻辑,解压:./bsdtar -xf xxx.7z压缩:./bsdtar -cf xxx.7z xxx

分享
微博
QQ
微信
回复
2024-06-07 22:12:41
相关问题
HarmonyOS ZIP文件加密压缩解压缩
1625浏览 • 1回复 待解决
HarmonyOS ZIP压缩问题
782浏览 • 1回复 待解决
HarmonyOS zip压缩咨询
865浏览 • 1回复 待解决
使用三方pako压缩字节数组
2238浏览 • 1回复 待解决
HarmonyOS 代码如何解压zip文件
806浏览 • 1回复 待解决
鸿蒙里如何通过代码解压zip文件?
677浏览 • 0回复 待解决
HarmonyOS如何解压rawfile中的zip文件
983浏览 • 1回复 待解决