Re: "byte orders" question
Re: "byte orders" question
- Subject: Re: "byte orders" question
- From: Koen van der Drift <email@hidden>
- Date: Mon, 28 Nov 2011 13:38:15 -0500
> 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@hidden)
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:
This email sent to email@hidden