converting TDes8* to char* ?
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 .