Simple Zip is a crossplatform plugin to compress and decompress data. Simple, fast and portable.
Features:
● Compress string and binary data with Gzip
● Compress files and directories to Zip-archive
● Any platform: iOS, Android, Desktop and WebGL
● No 3rd party plugins, no impact to build size
Usage:
● Zip.Compress(PLAIN_TEXT)
● Zip.CompressToString(PLAIN_TEXT)
● Zip.Decompress(BYTE_ARRAY)
● Zip.Decompress(COMPRESSED_TEXT)
● Zip.DecompressString(BYTE_ARRAY)
● Zip.CompressDirectory(DIRECTORY_PATH, ARCHIVE_PATH)
● Zip.CompressFile(FILE_PATH, ARCHIVE_PATH)
● Zip.DecompressArchive(ARCHIVE_PATH, DIRECTORY_PATH)
● Zip.DecompressArchive(ARCHIVE_BYTES, DIRECTORY_PATH)
It would be super awesome if you rate ★★★★★ my asset and leave your feedback! Your reviews inspire me for creating and improving my assets, thanks!