Skip to content
forked from mattt/Godzippa

Godzippa! - GZip Compression / Decompression Category for NSData

License

Notifications You must be signed in to change notification settings

heyzooi/Godzippa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godzippa!

gzip Compression / Decompression Category for NSData

Example Usage

NSData *originalData = [@"Look out! It's..." dataUsingEncoding:NSUTF8StringEncoding];
NSData *compressedData = [originalData dataByGZipCompressingWithError:nil];
NSData *decompressedData = [compressedData dataByGZipDecompressingDataWithError:nil];
NSLog(@"%@ %@", [NSString stringWithUTF8String:[decompressedData bytes]], @"Godzippa!");

Requirements

  • zlib - In the "Link Binary With Libraries" Build Phase of your Target, add libz.dylib

Contact

Mattt Thompson

License

Godzippa! is available under the MIT license. See the LICENSE file for more info.

About

Godzippa! - GZip Compression / Decompression Category for NSData

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 98.1%
  • Ruby 1.9%