//  Compressor.h
//  LaTeXiT
//
//  Created by Pierre Chatelier on 17/02/05.
//  Copyright 2005-2016 Pierre Chatelier. All rights reserved.

//This file is useful to zip-[un]compress NSData

#import <Cocoa/Cocoa.h>

#import <zlib.h>

@interface Compressor : NSObject {
}

+(NSData*) zipcompressDeprecated:(NSData*)data;
+(NSData*) zipuncompressDeprecated:(NSData*)data;
+(NSData*) zipcompress:(NSData*)data;
+(NSData*) zipcompress:(NSData*)data level:(int)level;
+(NSData*) zipuncompress:(NSData*)data;

@end
