• 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
NSArchiver question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArchiver question


  • Subject: NSArchiver question
  • From: Ivan Kourtev <email@hidden>
  • Date: Sun, 24 Apr 2005 18:33:19 -0400

Hi,

I am experimenting with archiving for very large data. After quickly discovering that NSKeyedArchiver for complex object graphs is prohibitively slow, I've been able to improve the performance of archiving by reorganizing my data and switching to non-keyed archiving (using NSArchiver).

However, it seems NSArchiver does not have methods for archiving basic C types (for example, there is encodeInt:forKey but there is no encodeInt:). So what is the proper way to encode the primitive C types with NSArchiver? Is it the encodeBytes:length: method? Or maybe I have missed something obvious?

Thanks for any suggestions.

-- ivan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: BUG?: Multiple Inheritance and DO
  • Next by Date: Need a little help with KVC Array operators
  • Previous by thread: Re: BUG?: Multiple Inheritance and DO
  • Next by thread: Re: NSArchiver question
  • Index(es):
    • Date
    • Thread