equal
deleted
inserted
replaced
769 TPtr8 ptr( data->Des() ); |
769 TPtr8 ptr( data->Des() ); |
770 User::LeaveIfError( file.Read( ptr ) ); |
770 User::LeaveIfError( file.Read( ptr ) ); |
771 TBase64 B64Coder; |
771 TBase64 B64Coder; |
772 HBufC8 *target = HBufC8::NewLC( ( size * 6 ) / 3 ); |
772 HBufC8 *target = HBufC8::NewLC( ( size * 6 ) / 3 ); |
773 TPtr8 targetPtr( target->Des() ); |
773 TPtr8 targetPtr( target->Des() ); |
774 B64Coder.Encode( *data, targetPtr ); |
774 B64Coder.PortableEncode( *data, targetPtr ); |
775 object->InsertL( 0, ptr ); |
775 object->InsertL( 0, ptr ); |
776 CleanupStack::PopAndDestroy( 3, &fs ); |
776 CleanupStack::PopAndDestroy( 3, &fs ); |
777 ret = EOk; |
777 ret = EOk; |
778 } |
778 } |
779 #endif |
779 #endif |