NSArchiver question
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