> In particular, the beginning of the OCTET_STRING_t's buffer begins with two 
> bytes (decimal values 12 and 21). Am I supposed to skip these? For example, 
> the following code where I skip these first two bytes seems to work, but it 
> seems like a big hack:

OK, it seems that the second byte (21 in this case) is the number of characters 
encoded (I haven't tried non-ASCII characters). The OCTET_STRING_t for 
bundle_version begins 12, 5 (where the string resolves to "1.0.2", five 
characters). I still don't know what the 12 means. And does this mean that an 
OCTET_STRING can encode at most 256 bytes?

Any thoughts?

Todd

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to