Discussion Board
-
converting TDes8* to char* ?
2004-09-06, 12:29
#1
Registered User
how do i convert a TDes8* to a character string and viceversa? i just want to write a buffer into a file using fwrite().
didnt find anything useful either in the docu nor elsewhere..
thanks for your help!
-
Nokia Developer Expert
Better to use RFile directly is possible, since fwrite will call RFile class to handle the write, so it is slower and wastes resources.
anyway, you could try this:
TUint8 *Charbuf =(TUint8 *) SmallBuf.Ptr();
where SmallBuf is TDes8 .
yucca
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules