本帖最后由 微笑的猫 于 2024-7-16 15:48 编辑
7Zip, lzma, LZ4, fastLZ, zipgzip & brotli multiplatform plugins 系列索引:
7Zip, lzma, LZ4, fastLZ, zipgzip & brotli multiplatform plugins 2.57 下载链接
7Zip, lzma, LZ4, fastLZ, zipgzip & brotli multiplatform plugins 2.7.3 下载链接
7Zip, lzma, LZ4, fastLZ, zipgzip & brotli multiplatform plugins 2.7.5 下载链接
7Zip, lzma, LZ4, fastLZ, zipgzip & brotli multiplatform plugins. 2.8.1 下载链接
This is a shared library for Android, iOS*, OSX, Windows, Linux and webGL** to decompress 7z (7zip) files and to compress/decompress zip/gzip (.zip/.gz), LZ4 (.lz4), brotli (.br), fastLZ files and buffers.
* ZIP plugin: iOS/tvOS compilation may require to add the -lz linking flag at Build Settings-> Linking- > Other Linker flags on xcode.
**webGL for flz,lzma & lz4 supports buffers compression/decompression only. Brotli supports buffer decompression. **webGL for zip supports all functions except those that require file system operations.
7ZIP section:
The library serves the scope to have fast decompression of 7z files and compress/decompress lzma files and buffers.
- The library does 7z decompression and not 7z compression.
Compression of lzma alone files is supported.
Passwords are not supported.
- It is about 2.5x times faster then using a c# implementation for 7z decompression.
- You can extract a single file out of the 7z archive.
- If you intend to decompress large files it would be better to use the largeFiles flag.(consumes less ram)
- You can extract the contents of the 7z file keeping its folder structure.
- Ability to get the filenames and file sizes of files in a 7z archive.
- get progress of extraction when the 7zip archive has multiple files.
- get byte level progress of 7z decompression (single or multiple files).
- get byte level progress of lzma compression/decompression.
- Ability to encode/decode to/from .lzma alone format.
- Ability to decode a specific file in a 7z archive to a byte buffer.
- Ability to decode/encode a byte buffer to/from the lzma alone format.**
- Ability to cancel the decompression when the 7z archive has multiple entries.
- Support for unmanaged IntPtr buffers as files. (iOS, Android, MacOSX, Linux)
这是一个适用于 Android、iOS*、OSX、Windows、Linux 和 webGL** 的共享库,用于解压 7z (7zip) 文件以及压缩/解压 zip/gzip (.zip/.gz), LZ4 (.lz4), brotli (.br), fastLZ 文件和缓冲区。
* ZIP 插件:iOS/tvOS 编译可能需要在 xcode 上的 “构建设置”->“链接”->“其他链接器标志 ”中添加 -lz 链接标志。
用于 flz、lzma 和 lz4 的 **webGL 仅支持缓冲区压缩/解压缩。Brotli 支持缓冲区解压缩。用于 zip 的**webGL 支持除需要文件系统操作之外的所有功能。
7ZIP 部分:
该库用于快速解压 7z 文件,压缩/解压 lzma 文件和缓冲区。
- 该库只进行 7z 解压缩,不进行 7z 压缩。
仅支持 lzma 文件的压缩。
不支持密码。
- 与使用 c# 实现的 7z 解压缩相比,它的速度快 2.5 倍。
- 你可以从 7z 压缩包中提取单个文件。
- 如果要解压大文件,最好使用 largeFiles 标志(消耗更少内存)。
- 可以提取 7z 文件的内容,并保留其文件夹结构。
- 获取 7z 压缩包中文件的文件名和文件大小。
- 当 7zip 压缩包中有多个文件时,获取解压缩进度。
- 获取 7z 解压缩(单个或多个文件)的字节级进度。
- 获取 lzma 压缩/解压缩的字节级进度。
- 可将 .lzma 格式单独编码/解码为 .lzma 格式。
- 解码特定的
|
|