> He said that the sender isn’t his own code and isn’t something he can change, 
> and that it is apparently sending raw binary data (in
> Base64 encoding). If you’re sending raw binary data, you’d *better* define 
> the widths of your fields as part of the specification.
>
>Charles

Just for clarification: the format of the data inside the xml file I
am reading is set in stone. The code I posted was an example snippet
as listed in the xml scheme documention showing how the data could be
processed.

In the end, for me the goal was to go from a Base64 encoded string to
an array of float values encapsulated in NSNumber objects. At first I
focused too much of getting that snippet to work, but after posting
here and digesting all of the comments, I finally figured it out. BTW,
the precision is also stored in the xml file, in this case it was
'32'.

Thanks all for the help.

- Koen.
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to