Endian safety of NSArchiver/NSUnarchiver
Endian safety of NSArchiver/NSUnarchiver
- Subject: Endian safety of NSArchiver/NSUnarchiver
- From: Gorazd Krosl <email@hidden>
- Date: Tue, 23 Oct 2007 22:40:36 -0400 (EDT)
Dear list,
I am writing a program that will crunch primarily
numeric data (double values). Internally, data are
represented as plain C array of doubles. To archive, I
am using NSArchiver's -encodeArrayOfObjCType:count:at:
method, of which documentation says that it internally
calls -encodeValueOfObjCType:at: for each element of
the array. Am I right to assume that data (doubles)
archived this way are saved in endian-safe way? I have
no way to test, since we don't have intel macs yet in
the lab...
Thanks in advance,
Gorazd
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
_______________________________________________
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