Symbian字符串转换宝典
2010-05-31 20:21:00 来源:WEB开发网IMPORT_C int StringToHbufc16 (string& aString, HBufC16* aDes);
IMPORT_C int StringToHbufc8 (string& aString, HBufC8* aDes);
IMPORT_C int StringToRbuf8 (const string& aSrc, RBuf8& aDes);
IMPORT_C int StringToRbuf16 (const string& aSrc, RBuf16& aDes);
IMPORT_C int WstringToTbuf8 (wstring& aString, TDes8& aDes);
IMPORT_C int WstringToTptr8 (wstring& aString, char* cPtr, TPtr8& aDes);
IMPORT_C int WstringToTptr16 (wstring& aString, TPtr16& aDes);
IMPORT_C int WstringToTptrc8 (wstring& aString, char* cPtr, TPtrC8& aDes);
IMPORT_C int WstringToTptrc16 (wstring& aString , TPtrC16& aDes);
IMPORT_C int WstringToRbuf8 (const wstring& aSrc, RBuf8& aDes);
IMPORT_C int WstringToRbuf16 (const wstring& aSrc, RBuf16& aDes);
IMPORT_C int Tbuf8ToString (TDes8& aSrc, string& aDes);
IMPORT_C int Tptr8ToString (TDes8& aSrc, string& aDes);
IMPORT_C int Tptrc8ToString (const TDesC8& aSrc, string& aDes);
IMPORT_C int Tptr16ToString (TDes16& aDes, string& astring);
IMPORT_C int Tptrc16ToString (const TDesC16& aDes, string& aString);
IMPORT_C int Hbufc16ToString (HBufC16* aSrc, string& aString, int& n_size);
IMPORT_C int Hbufc8ToString (HBufC8* aSrc, string& aString);
IMPORT_C int Rbuf8ToString (TDes8& aSrc, string& aDes);
IMPORT_C int Tbuf8ToChar (TDes8& aSrc, char* aDes, int& n_size);
IMPORT_C int Tbuf16ToChar(TDes16& aSrc, char* aDes, int& n_size);
IMPORT_C int Tbufc8ToChar (TDesC8& aSrc, char* aDes, int &n_size);
IMPORT_C int Tbufc16ToChar (TDesC16& aSrc, char* aDes, int &n_size);
IMPORT_C int Tlitc8ToChar (const TDesC8& aDes, char* aSrc, int&
更多精彩
赞助商链接