summary refs log tree commit diff stats
path: root/libs/cocos2d/Support/base64.h
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-07-30 11:19:14 -0400
committerStarla Insigna <starla4444@gmail.com>2011-07-30 11:19:14 -0400
commit9cd57b731ab1c666d4a1cb725538fdc137763d12 (patch)
tree5bac45ae5157a1cb10c6e45500cbf72789917980 /libs/cocos2d/Support/base64.h
downloadcartcollect-9cd57b731ab1c666d4a1cb725538fdc137763d12.tar.gz
cartcollect-9cd57b731ab1c666d4a1cb725538fdc137763d12.tar.bz2
cartcollect-9cd57b731ab1c666d4a1cb725538fdc137763d12.zip
Initial commit (version 0.2.1)
Diffstat (limited to 'libs/cocos2d/Support/base64.h')
-rwxr-xr-xlibs/cocos2d/Support/base64.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libs/cocos2d/Support/base64.h b/libs/cocos2d/Support/base64.h new file mode 100755 index 0000000..d30878e --- /dev/null +++ b/libs/cocos2d/Support/base64.h
@@ -0,0 +1,33 @@
1/*
2 public domain BASE64 code
3
4 modified for cocos2d-iphone: http://www.cocos2d-iphone.org
5 */
6
7#ifndef __CC_BASE64_DECODE_H
8#define __CC_BASE64_DECODE_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14
15/** @file
16 base64 helper functions
17 */
18
19/**
20 * Decodes a 64base encoded memory. The decoded memory is
21 * expected to be freed by the caller.
22 *
23 * @returns the length of the out buffer
24 *
25 @since v0.8.1
26 */
27int base64Decode(unsigned char *in, unsigned int inLength, unsigned char **out);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif // __CC_BASE64_DECODE_H