On 3/19/08 7:44 PM, Nick Rogers said: >In my app I'm reading raw bytes from the file. >So to get a integer's correct value, I'll need to swap bytes >according to the machine (big or little-endian type), I guess.
Take a look in NSByteOrder.h, it has all you need. -- ____________________________________________________________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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]