# miniz-cpp-demo **Repository Path**: kangyupl/miniz-cpp-demo ## Basic Information - **Project Name**: miniz-cpp-demo - **Description**: miniz-cpp 小 demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-29 - **Last Updated**: 2022-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # miniz-cpp 小 demo 原始项目地址 https://github.com/tfussell/miniz-cpp 版本对应 commit id 052335e ## 环境依赖 CMAKE 3.2 g++ 或者 clang 等任意支持 C++ 14 的编译器 ## 快速使用 ```bash # 首次使用需要创建生成文件的文件夹 mkdir build cd build # 之后使用只需重新编译 cmake .. && make # 生成一个测试的 zip 文件 ./example-zip test.zip # 检查文件内容 ./example-unzip test.zip # 输出 zip 包中的一个文件 ./example-unzip out.zip file1.txt ```