Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Input Management
1/3
This is a shared library for Android, iOS*, OSX, Windows, Linux and webGL** to compress/decompress zip/gzip/tar/bz2 (.zip/.gz) files and buffers.

**WebGL supports all functions except the ones that require file system access.

It is also part of the 7z/lzma/zip package in the asset store here:7zip/lzma/zip plugins

Fast zip/gzip 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/gzip streams.
- recursive directory compression/decompression.
- compress/decompress single files.
- encryption / decryption.
- 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.
- extract a list of entries to the file system or in multiple buffers.
- decompress a file of a zip archive to a byte buffer.
- delete an entry in a zip archive.
- replace an entry in a zip archive.
- get progress of extraction when the zip archive has multiple files.
- get byte level progress of compression (single or multiple files).
- create in Memory zip files and manipulate them from there.
- Support of split zip files compress/decompress (1.zip. 1.z01, 1.z02, ...)
- decompression of split zip archives (in the form of 1.zip, 1.z01, 1.z02, ...)
- ability to discover merged/hidden zip/gzip archives in files or buffers and extract from there.
- bz2/zlib compression-decompression methods. (bz2 method not available for MacOS/iOS/tvOS & webGL)
- buffers can be treated as files. That means if you have a file in www.bytes you can perform operations directly on the buffer.
- support for native file buffers to avoid memory spikes when decompressing from managed buffers.
- support for STORE method when setting level of compression to zero.
- create/decompress gzip files.
- decompress gzip from buffer to the file system.
- ability to cancel most zip/unzip/gzip/tar operations when they are called from a Thread.
- ability to create tar archives from directories or list of files with byte level progress.
- untar and untar entry support with byte level progress.
- compress/decompress of tar.gz, tar.bz2 with progress.
- create and decompress bz2 archives with progress.
- thread safe
- utf-8 support



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-v7a, x86 and arm64-v8a.



Support email: elias_t@yahoo.com
Support forum: SupportForum

Zip / gzip Multiplatform Native Plugin.

(44)
127 users have favourite this asset
(127)
$15
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
5.0 MB
Latest version
2.4
Latest release date
Nov 21, 2022
Original Unity version
2019.4.32
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR