![]() |
Ignite Tools
|
00001 // 00002 // Created by Matt Gallagher on 2009/06/03. 00003 // Copyright 2009-2010Matt Gallagher. All rights reserved. 00004 // 00005 // Permission is given to use this source code file, free of charge, in any 00006 // project, commercial or otherwise, entirely at your risk, with the condition 00007 // that any redistribution (in part or whole) of source code must retain 00008 // this copyright and permission notice. Attribution in compiled projects is 00009 // appreciated but not required. 00010 // 00011 00012 #import <Foundation/Foundation.h> 00013 00014 void *UA_NewBase64Decode( 00015 const char *inputBuffer, 00016 size_t length, 00017 size_t *outputLength); 00018 00019 char *UA_NewBase64Encode( 00020 const void *inputBuffer, 00021 size_t length, 00022 bool separateLines, 00023 size_t *outputLength); 00024 00025 NSData* UA_dataFromBase64String(NSString* aString); 00026 NSString* UA_base64EncodedStringFromData(NSData* data);