conversion between char* and Descriptors
char* pString === TPtrC8 buf(pString, User::StringLength(pString));
-----------------------
TInt len = ptrc.Length();
Mem::Copy(pString, ptrc.Ptr(), len);
pString[len] = 0;
----------------------------------
and Ptr() function is:
const TUint8* Ptr() const
RECORDING MY FANTASY
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment