{"id":13610767,"url":"https://github.com/nicklockwood/GZIP","last_synced_at":"2025-04-13T01:32:40.684Z","repository":{"id":3489146,"uuid":"4545110","full_name":"nicklockwood/GZIP","owner":"nicklockwood","description":"A simple NSData category for gzipping/unzipping data in iOS and Mac OS","archived":false,"fork":false,"pushed_at":"2024-06-26T13:32:27.000Z","size":96,"stargazers_count":990,"open_issues_count":7,"forks_count":169,"subscribers_count":34,"default_branch":"main","last_synced_at":"2025-04-10T05:39:19.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicklockwood.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-06-04T08:52:52.000Z","updated_at":"2025-02-14T02:56:08.000Z","dependencies_parsed_at":"2022-09-08T08:11:36.742Z","dependency_job_id":"e7646be8-b733-4a88-b277-da7ef4588e05","html_url":"https://github.com/nicklockwood/GZIP","commit_stats":{"total_commits":31,"total_committers":15,"mean_commits":2.066666666666667,"dds":0.6129032258064516,"last_synced_commit":"da881c9bea68322febe5558c88fd1cbc2e9fe011"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklockwood%2FGZIP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklockwood%2FGZIP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklockwood%2FGZIP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklockwood%2FGZIP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicklockwood","download_url":"https://codeload.github.com/nicklockwood/GZIP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650428,"owners_count":21139672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T19:01:47.818Z","updated_at":"2025-04-13T01:32:40.403Z","avatar_url":"https://github.com/nicklockwood.png","language":"Objective-C","funding_links":[],"categories":["Objective-C","Data/File Archive \u0026 Unarchive","OOM-Leaks-Crash","Other"],"sub_categories":["Zip","General Purpose Libraries"],"readme":"[![Build](https://github.com/nicklockwood/GZIP/actions/workflows/build.yml/badge.svg)](https://github.com/nicklockwood/GZIP/actions/workflows/build.yml)\n[![Codecov](https://codecov.io/gh/nicklockwood/GZIP/graphs/badge.svg)](https://codecov.io/gh/nicklockwood/GZIP)\n[![License](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)\n[![Mastodon](https://img.shields.io/badge/mastodon-@nicklockwood@mastodon.social-636dff.svg)](https://mastodon.social/@nicklockwood)\n\n\nPurpose\n--------------\n\nGZIP is category on NSData that provides simple gzip compression and decompression functionality.\n\n\nSupported OS \u0026 SDK Versions\n-----------------------------\n\n* Supported build target - iOS 12.0 / Mac OS 10.14 (Xcode 10.1)\n* Earliest supported deployment target - iOS 11.0 / Mac OS 10.14.6\n* Earliest compatible deployment target - iOS 11.0 / Mac OS 10.6\n\nNOTE: 'Supported' means that the library has been tested with this version. 'Compatible' means that the library should work on this iOS version (i.e. it doesn't rely on any unavailable SDK features) but is no longer being tested for compatibility and may require tweaking or bug fixes to run correctly.\n\n\nARC Compatibility\n------------------\n\nThe GZIP category will work correctly in either ARC or non-ARC projects without modification.\n\n\nThread Safety\n--------------\n\nAll the GZIP methods should be safe to call from multiple threads concurrently.\n\n\nInstallation\n--------------\n\nThe simplest way to install GZIP is to use CocoaPods, by adding the following to your Podfile:\n\n\tpod 'GZIP', '~\u003e 1.3.2'\n\nAlternatively you can use Carthage, or if you prefer to install manually, drag the GZIP.xcodeproj into your project or workspace and include GZIP.framework under the linked libraries in your target.\n\n\nNSData Extensions\n----------------------\n\n    - (NSData *)gzippedDataWithCompressionLevel:(float)level;\n\nThis method will apply the gzip deflate algorithm and return the compressed data. The compression level is a floating point value between 0.0 and 1.0, with 0.0 meaning no compression and 1.0 meaning maximum compression.  A value of 0.1 will provide the fastest possible compression. If you supply a negative value, this will apply the default compression level, which is equivalent to a value of around 0.7.\n\n    - (NSData *)gzippedData;\n    \nThis method is equivalent to calling `gzippedDataWithCompressionLevel:` with the default compression level.\n    \n    - (NSData *)gunzippedData;\n    \nThis method will unzip data that was compressed using the deflate algorithm and return the result.\n\n    - (BOOL)isGzippedData;\n    \nThis method will return YES if the data is gzip-encoded.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicklockwood%2FGZIP","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicklockwood%2FGZIP","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicklockwood%2FGZIP/lists"}