[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #20268] NSKeyedArchiver can't handle C arrays

From: Larry Campbell
Subject: [bug #20268] NSKeyedArchiver can't handle C arrays
Date: Tue, 26 Jun 2007 18:22:43 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419.2.1 (KHTML, like Gecko) Safari/419.3


                 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



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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]