- 最后登录
- 2024-9-20
- 注册时间
- 2013-12-31
- 阅读权限
- 20
- 积分
- 223
- 纳金币
- 352
- 精华
- 0
|
要求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.
- compress/decompress buffers to/from zlib streams.
- recursive directory compression/decompression.
- compress/decompress single files.
- append files to existing zip archives.
- compress a buffer and write it or append it to a zip archive.
- get file and size info of all the files or a specific file from a zip archive.
- extract a single file out of a zip archive.
- decompress a file of a zip archive to a byte buffer.
- get progress of extraction when the zip archive has multiple files.
- encryption is not supported.
LZ4 section:
Fast compression/decompression of files in LZ4 format.
- compress a file into a LZ4 file format.
- decompress an LZ4 file.
- compress a buffer into the LZ4 format.
- decompress an LZ4 compressed buffer into a buffer.
(The plugin provides a solution to store the uncompressed size of a compressed buffer in its footer.)
fastLZ section:
Fast compression/decompression of files in fastLZ format.
- compress a file into a fastlz file format.
- decompress a fastlz file.
- compress a buffer into the fastlz format.
- decompress a fastlz compressed buffer into a buffer.
(The plugin provides a solution to store the uncompressed size of a compressed buffer in its footer.)
*Linux, iOS, Android, MacOSX can treat buffers as files.
**Due to some compatibility reasons some functions on the lzma WSA plugins are disabled. These are: compressBuffer and encode/decode lzma alone files.
The ios and OSX libraries are compiled as universal. That means that they will support 32 and 64 bit builds.
The Windows and Linux libraries are compiled for x86 and x86_64 build modes.
The Android lib is compiled for armeabi, armeabi-v7a, x86 and x86_64.
Support email: [url=]elias_t@yahoo.com[/url]
|
|