Symbian字符串转换宝典
2010-05-31 20:21:00 来源:WEB开发网IMPORT_C int Tptrc16ToWstring (TPtrC16& aSrc, wstring& aDes);
IMPORT_C int Tptr8ToWstring (TPtr8& aSrc, wstring& aDes);
IMPORT_C int Tptr16ToWstring (TPtr16& aSrc, wstring& aDes);
IMPORT_C int Rbuf8ToWstring (TDes8& aSrc, wstring& aDes);
IMPORT_C int Rbuf16ToWstring (TDes16& aSrc, wstring& aDes);
IMPORT_C int Rbuf16ToString(TDes16& aSrc, string& aDes);
IMPORT_C int Tbufc8ToString(TDesC8& aSrc, string& aDes);
IMPORT_C int Tbufc16ToString(TDesC16& aSrc, string& aDes);
IMPORT_C int Tlit8ToString(const TDesC8& aSrc, string& aDes);
IMPORT_C int Tlit16ToString(const TDesC16& aSrc, string& aDes);
IMPORT_C int Hbufc16ToWstring(HBufC16* aSrc, wstring& aDes);
IMPORT_C int Tlitc16ToWstring(TDesC16* aSrc, wstring& aDes);
IMPORT_C int Tlitc8ToWstring(TDes8& aSrc, wstring& aDes);
IMPORT_C int Hbufc8ToWstring(HBufC8* aSrc, wstring& aDes);
IMPORT_C int WstringToHbufc8(wstring& aSrc, HBufC8* aDes);
IMPORT_C int WstringToTbuf16(wstring& aSrc, TDes16& aDes);
IMPORT_C int WstringToHbufc16(wstring& aSrc, HBufC16* aDes);
IMPORT_C int CharToRbuf8(const char* aSrc, RBuf8& aDes);
IMPORT_C int Tbuf8ToWstring(TDes8& aSrc, wstring& aDes);
IMPORT_C int Tbufc8ToWstring(TDesC8& aSrc, wstring& aDes);
IMPORT_C int HBufc8ToWchar(HBufC8* aSrc, wchar_t* aDes, int& n_size);
IMPORT_C int Tbuf16ToWstring(TDes16& aSrc, wstring& aDes);
IMPORT_C int Hbufc16ToWchar(const HBufC16* aSrc, wchar_t* aDes, int& n_size);
IMPORT_C int Hbufc8ToChar(HBufC8 *aSrc, char* aDes, int& n_size);
IMPORT_C int Tbuf16ToString(TDes16& aSrc, string& aDes);
更多精彩
赞助商链接