URL:
<http://savannah.gnu.org/bugs/?20268>
Summary: NSKeyedArchiver can't handle C arrays
Project: GNUstep
Submitted by: lcampbel
Submitted on: Tuesday 06/26/2007 at 18:22
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
NSKeyedArchiver raises an exception if you ask it to encode an array:
char foo[4];
[coder encodeValueOfObjCType:@encode(typeof(foo)) at:&foo];
but NSArchiver handles it fine. (Well, not optimally, as it encodes the
length too, which is wasteful, but at least it works and doesn't throw an
exception.)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20268>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep