Skip navigation.
 
mlRe: NSData text representation
FROM : Charles Steinman
DATE : Thu Jun 19 21:18:43 2008

--- On Thu, 6/19/08, Trygve Inda <<email_removed>> wrote:

> From: Trygve Inda <<email_removed>>
> Subject: NSData text representation
> To: "Cocoa-Dev List" <<email_removed>>
> Date: Thursday, June 19, 2008, 11:50 AM
> In my plist (xml1 format) I see something like:
>
> <data>
> +/YgByAMQo78MBADoA
> </data>
>
> However when I send a [myNSData description] I get
> something like:
>
> <47050000 78da8d53 cb4ac340 146d1ea0 a0b8f133 5c09>
>
> How can I get something more like the first example that I
> can copy/paste
> into a plist?


See -[NSString initWithData:encoding:].

Cheers,
Chuck

Related mailsAuthorDate
mlNSData text representation Trygve Inda Jun 19, 20:50
mlRe: NSData text representation Charles Steinman Jun 19, 21:18
mlRe: NSData text representation Andreas Monitzer Jun 19, 22:15
mlRe: NSData text representation Adam Leonard Jun 19, 23:46