cocos2d-x  2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ccUTF8.h File Reference
#include "platform/CCPlatformMacros.h"
#include <vector>

Namespaces

 cocos2d
 

Constant Groups

 cocos2d
 

Functions

CC_DLL int  (const unsigned short *str)
local  ( local str)
CC_DLL void  (std::vector< unsigned short > *str)
var  ( var str)
local  ( local str)
CC_DLL bool  (unsigned short ch)
var  ( var ch)
local  ( local ch)
CC_DLL long  (const char *p, int max)
var  ( var p, var max)
local  ( local p, local max)
CC_DLL unsigned int  (std::vector< unsigned short > str, unsigned short c)
var  ( var str, var c)
local  ( local str, local c)
CC_DLL std::vector< unsigned
short > 
(const unsigned short *str)
CC_DLL unsigned short *  (const char *str_old, int length=-1, int *rUtf16Size=NULL)
var  ( var str_old, var 1, var NULL)
local  ( local str_old, local 1, local NULL)
CC_DLL char *  (const unsigned short *str, long len, long *items_read, long *items_written)
 cc_utf16_to_utf8: : a UTF-16 encoded string : the maximum length of to use. More...