//
//  NSData-KSExtensions.h
//  KSToolkit
//
//  Created by Pierre Oleo on 04/08/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//
//	Origins
//  Compression : Created by Dustin Mierau

#import <Foundation/Foundation.h>

#define NSDataCompressionNone	0
#define NSDataCompressionLow	1
#define NSDataCompressionBest	9

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

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