Re: Base-64 decode (was Property List Editor)
Re: Base-64 decode (was Property List Editor)
- Subject: Re: Base-64 decode (was Property List Editor)
- From: Graham Jones <email@hidden>
- Date: Sat, 11 Jun 2005 14:52:55 -0400
Hi Steven,
Thanks a lot for your help. I was all set to use it, and then someone
provided me with a shell script that I could easily call from Applescript,
and works perfectly... For my uses, it is a lot handier.
I do really appreciate your help, and once I start learning more Objective-C
and converting my app over, I may just come back to it.
Thanks again,
Graham Jones.
On 6/9/05 5:47 PM, "Steven" wrote:
>
> Op 9-jun-05 om 20:14 heeft Graham Jones het volgende geschreven:
>
>> Hi,
>>
>> So you just parse out the <data> part of it? I need to read from
>> multiple
>> <data> tags - no more than two, but I need to grab them and run them
>> separately.
>>
>> The way I break up the XML file is line by line... Will I be able to
>> feed
>> your routine just one line, that starts and ends with the data tags?
>>
>>
>
> Let's say I have a base 64 string AABBCCDD.
>
> I create a plist with an empty NSData, serialize it as XML, make a
> string out of it and replace the empty <data></data> in the XML string
> with <data>AABBCCDD</data>, and create a new plist with the modified
> string, then deserialize that to get a data object out of the modified
> plist. Presto! decoded base 64 data.
>
> Cheers
>
> Steven
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden