一个使用 C 语言 Native 实现的 android 7zip 压缩解压迷你库.
yanbober / android-7zip Goto Github PK
View Code? Open in Web Editor NEW一个使用 C 语言 Native 实现的 android 7zip 压缩解压迷你库.
一个使用 C 语言 Native 实现的 android 7zip 压缩解压迷你库.
这个库压缩的时候注意2点:
第一个参数不能传入文件夹进行压缩,只能传入文件,不然报错;
第二个参数传入的是文件名,必须带有后缀,比如.7z,不然不能使用unzip()解压缩
解压缩的时候需要注意1点:
第二个参数看着像是一个目录,其实是一个文件容器。
注意以上几点,在手机上测试可以正确的压缩和解压缩,但是把压缩后的文件放在MacOS、Win10和Linux系统都不能解压缩成功,请问这是什么原因呢?
大神, 这个库支持 压缩、解压 "rar", "zip", "7z", "bz2", "bzip2","tbz2", "tbz", "gz", "gzip", "tgz", "tar", "xz", "txz" 这些格式吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.