Skip navigation.
 
mlRe: Is there any compression library for Cocoa?
FROM : David Riggle
DATE : Fri Nov 30 18:46:56 2007

There's a handy NSData-Compression class in Dustin Mierau's NetSocket 
0.9 sample code available here:

http://blackholemedia.com/code/

Here's a snippet from the header file.

@interface NSData (Compression)
- (NSData*)compressedData;
- (NSData*)compressedDataWithLevel:(int)inLevel;
- (NSData*)uncompressedData;
@end

@interface NSMutableData (Compression)
- (BOOL)compress;
- (BOOL)uncompress;
@end

Related mailsAuthorDate
mlIs there any compression library for Cocoa? Allen Dang Nov 29, 17:55
mlRe: Is there any compression library for Cocoa? Christopher Hickma… Nov 29, 18:13
mlRe: Is there any compression library for Cocoa? Andreas Monitzer Nov 29, 19:38
mlRe: Is there any compression library for Cocoa? Allen Dang Nov 30, 16:41
mlRe: Is there any compression library for Cocoa? David Riggle Nov 30, 18:46
mlRe: Is there any compression library for Cocoa? Trygve Inda Apr 30, 11:24
mlRe: Is there any compression library for Cocoa? Luc Heinrich Apr 30, 11:28
mlRe: Is there any compression library for Cocoa? matt.gough Apr 30, 12:21
mlRe: Is there any compression library for Cocoa? Trygve Inda Apr 30, 12:35
mlRe: Is there any compression library for Cocoa? matt.gough Apr 30, 12:39
mlRe: Is there any compression library for Cocoa? Trygve Inda Apr 30, 13:40
mlRe: Is there any compression library for Cocoa? Christopher Nebel Apr 30, 18:04