标题: 7Zip, lzma, LZ4, fastlz and Zip Multiplatfo 版本: 2.08各种压缩解压支... [打印本页] 作者: bunny_zuoj 时间: 2016-1-16 16:48 标题: 7Zip, lzma, LZ4, fastlz and Zip Multiplatfo 版本: 2.08各种压缩解压支... 要求Unity 4.3.0 或更高版本。
Unity5 ready. This asset requires Unity Pro for unity4.x.
This is a shared library for Android, iOS, WSA8.1, Windows 10 Universal, OSX, Windows,Linux and WebGL to decompress 7z (7zip) files and to compress/decompress zip (.zip), LZ4(.lz4), fastLZ files and buffers.
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.
- 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.**
ZIP section:
Fast zip compression and decompression with a clean and simple interface. Very easy to use. Well commented example and documentation.
The plugin is about 7x times faster in compression speed and 3x times faster in decompression speed compared to SharpZipLib.