author | snej@snej.local |
Sat Apr 04 20:53:53 2009 -0700 (2009-04-04) | |
changeset 22 | a9da6c5d3f7c |
parent 0 | d84d25d6cdbb |
permissions | -rw-r--r-- |
1 //
2 // Base64.h
3 // MYUtilities
4 //
5 // Created by Jens Alfke on 1/27/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
12 //NOTE: Using this requires linking against /usr/lib/libcrypto.dylib.
15 @interface NSData (MYBase64)
17 - (NSString *)my_base64String;
18 - (NSString *)my_base64StringWithNewlines:(BOOL)encodeWithNewlines;
20 - (NSData *)my_decodeBase64;
21 - (NSData *)my_decodeBase64WithNewLines:(BOOL)encodedWithNewlines;
23 - (NSString *)my_hexString;
24 - (NSString *)my_hexDump;
26 @end