can i use the following instruction to build a CImageDecoder
void buidImageDecoder(TFileName& aName, HBufC* aData)
{
if(iImageDeocder)
delete iImageDecoder;
iImageDecoder = CImageDecoder:ataNewL(iFs, aData);
}
the API available is static IMPORT_C CImageDecoder *DataNewL(RFs &aFs, const TDesC8 &aSourceData, const TOptions aOptions=EOptionNone, const TUid aImageType=KNullUid, const TUid aImageSubType=KNullUid, const TUid aDecoderUid=KNullUid);
I am just wondering whether HBuf8 just derived from TDes8?
Regards
Zinan

ataNewL(iFs, aData);
Reply With Quote

