timonus / Brotli

An NSData category that provides Brotli compression and decompression for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brotli

CI Status Version License Platform

Example

Compression

NSData *data = ...;
NSData *compressed = [data brotliCompressed];

Decompression

NSData *compressed = ...;
NSData *decompressed = [compressed brotliDecompressed];

Installation

Brotli is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Brotli'

Author

Karl von Randow, karl@xk72.com

This pod was inspired by the work of Matthew Cheok, https://github.com/matthewcheok/Brotli

License

Brotli is available under the MIT license. See the LICENSE file for more info. Brotli includes the official Brotli source code from https://github.com/google/brotli. That source code is covered by the official Brotli license, which is included in the LICENSE file.

About

An NSData category that provides Brotli compression and decompression for iOS

License:Other


Languages

Language:C 98.7%Language:C++ 1.0%Language:Objective-C 0.1%Language:Ruby 0.1%Language:Swift 0.0%