Skip navigation.
 
mlbase64 NSData to NSString
FROM : Marco Cassinerio
DATE : Sat Mar 22 18:22:41 2008

Hi,

i'm trying to read the com.apple.recentitems.plist file and i found 
that "Alias" and "Icon" key are base64 NSData object.
NSData and NSString don't provide methods to manage base64 data.
I've searched with Google and i found some "pathces" for NSString and 
NSData but they don' t seem to work.
I've also tried to write NSData object content to file and pass it to 
openssl command from bash:

openssl base64 -d -in in.txt -out out.txt

but it always create a blank file.

Any suggestions?

Thanks
Marco

Related mailsAuthorDate
mlbase64 NSData to NSString Marco Cassinerio Mar 22, 18:22
mlRe: base64 NSData to NSString Paolo Manna Mar 22, 19:12
mlRe: base64 NSData to NSString Jeff LaMarche Mar 22, 19:18
mlRe: base64 NSData to NSString Michael Ash Mar 22, 20:11
mlRe: base64 NSData to NSString Marco Cassinerio Mar 22, 20:40
mlRe: base64 NSData to NSString Jens Alfke Mar 22, 20:46
mlRe: base64 NSData to NSString Marco Cassinerio Mar 22, 21:19
mlRe: base64 NSData to NSString Jens Alfke Mar 22, 21:24
mlRe: base64 NSData to NSString Marco Cassinerio Mar 22, 22:11