title: convert base64 decoded NSData to NSString
body: <p>I'm trying to encode and decode base64 data. but while decoding the base64 data, it returns bunch of hex values, but i couldn't display or printout using NSlog to the original readable strings. The below code couldn't print anything, just empty.</p>
  
  <p>Can anyone help ? thanks
  >
  ></p>
  
  <pre><code>NSString* msgEncoded = [[NSString alloc] initWithFormat:@"Q1NNKE1DTC9TTUEgUkNWL2FkbWluQHNldGVjcy5jb20gT1JHLyBUVkIvNDNkYzNlMzQwYWQ3Yzkp:"];  
  NSData* decoded = [[NSData alloc] initWithData:[self decodeBase64WithString:msgEncoded]];
  NSString* plainString = [[NSString alloc]initWithData:decoded encoding:NSUTF8StringEncoding];
  NSLog(@"\n Decoded string:  %@ \n", plainString );
  </code></pre>