| Declared in | NSData+Compression.h | 
|---|
Adds compression and decompression messages to NSData. Methods extracted from source given at http://www.cocoadev.com/index.pl?NSDataCategory
- (NSData *)zlibInflateA data object containing a Zlib decompressed copy of the receivers contents.
Returns a data object containing a Zlib decompressed copy of the receivers contents.
NSData+Compression.h- (NSData *)zlibDeflateA data object containing a Zlib compressed copy of the receivers contents.
Returns a data object containing a Zlib compressed copy of the receivers contents.
NSData+Compression.h- (int)zlibInflateInto:(NSMutableData *)buffer offset:(NSUInteger)offset A pointer to an instance of NSMutableData to popluated with the inflated data. 
The offset at which to start reading from [self bytes]
The number of bytes consumed
Inflates the data into a given buffer starting at a certain offset.
NSData+Compression.h- (NSData *)gzipInflateA data object containing a Gzip decompressed copy of the receivers contents.
Returns a data object containing a Gzip decompressed copy of the receivers contents.
NSData+Compression.h- (NSData *)gzipDeflateA data object containing a Gzip compressed copy of the receivers contents.
Returns a data object containing a Gzip compressed copy of the receivers contents.
NSData+Compression.hLast updated: 2011-2-20