utilitylibraries/libutils/src/descriptor8tostring.cpp
changeset 34 5fae379060a7
parent 0 e4d67989cc36
child 57 2efc27d87e1c
equal deleted inserted replaced
31:ce057bb09d0b 34:5fae379060a7
   233    * Converts a descriptor of type TLit8 to string datatype
   233    * Converts a descriptor of type TLit8 to string datatype
   234    *
   234    *
   235    * @param aSrc is the descriptor to be converted , aDes is the 
   235    * @param aSrc is the descriptor to be converted , aDes is the 
   236    * reference to the string to which the result of conversion 
   236    * reference to the string to which the result of conversion 
   237    * is stored , n_size specifies the conversion size of the string
   237    * is stored , n_size specifies the conversion size of the string
   238    * @return Status code (0 is ESuccess,  -5 is EDescriptorNoData)
   238    * @return Status code (0 is ESuccess,  -5 is EDescriptorNoData
       
   239    * -9 is EInsufficientSystemMemory)
   239    */
   240    */
   240 
   241 
   241 EXPORT_C int Tlit8ToString(const TDesC8& aSrc, string& aDes)
   242 EXPORT_C int Tlit8ToString(const TDesC8& aSrc, string& aDes)
   242 {   
   243 {   
   243     unsigned int ilen = aSrc.Length();
   244     unsigned int ilen = aSrc.Length();