• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Endian safety of NSArchiver/NSUnarchiver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Best practice for multiple NSWindowControllers on a document?
  • Next by Date: Re: autorelease pool
  • Previous by thread: Re: Best practice for multiple NSWindowControllers on a document?
  • Next by thread: font problem with NSTextView / using ATSUI with Cocoa?
  • Index(es):
    • Date
    • Thread