NSDataAdditions.h
1 
2 #import <Foundation/Foundation.h>
3 
5 
6 // ================================================================================================
7 // Created by Tom Bradley on 21/10/2009.
8 // Version 1.4
9 //
10 // Copyright (c) 2009 Tom Bradley
11 //
12 // Permission is hereby granted, free of charge, to any person obtaining a copy
13 // of this software and associated documentation files (the "Software"), to deal
14 // in the Software without restriction, including without limitation the rights
15 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16 // copies of the Software, and to permit persons to whom the Software is
17 // furnished to do so, subject to the following conditions:
18 //
19 // The above copyright notice and this permission notice shall be included in
20 // all copies or substantial portions of the Software.
21 //
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
28 // THE SOFTWARE.
29 // ================================================================================================
30 
31 + (NSData *) dataWithUncompressedContentsOfFile:(NSString *)aFile;
32 
33 
34 
35 // ================================================================================================
36 // base64.h
37 // ViewTransitions
38 //
39 // Created by Neo on 5/11/08.
40 // Copyright 2008 Kaliware, LLC. All rights reserved.
41 //
42 // FOUND HERE http://idevkit.com/forums/tutorials-code-samples-sdk/8-nsdata-base64-extension.html
43 // ================================================================================================
44 + (NSData *) dataWithBase64EncodedString:(NSString *) string;
45 - (id) initWithBase64EncodedString:(NSString *) string;
46 
47 - (NSString *) base64Encoding;
48 - (NSString *) base64EncodingWithLineLength:(unsigned int) lineLength;
49 
50 
51 
52 // ================================================================================================
53 // NSData+gzip.h
54 // Drip
55 //
56 // Created by Nur Monson on 8/21/07.
57 // Copyright 2007 theidiotproject. All rights reserved.
58 //
59 // FOUND HERE http://code.google.com/p/drop-osx/source/browse/trunk/Source/NSData%2Bgzip.h
60 // ================================================================================================
61 - (NSData *)gzipDeflate;
62 - (NSData *)gzipInflate;
63 
64 
65 
66 @end
Definition: NSDataAdditions.h:4