On Feb 26, 2012, at 6:20 PM, John Joyce wrote: >> <given some start address in an unsigned char [] buffer = 0xnnnn> > Doesn't necessarily work quite that simply with Unicode and NSString and its > family. > From a file that is ASCII data you could create a C array like that ...
Huh? William didn’t say anything about where the data came from. As long as it’s already in a C byte array (or an NSData) it can be displayed as a hex dump pretty easily. > Are you sure it is ASCII ...? > Internally to NSString and friends it likely is not. It's best to forget much > of what you think you know in assuming things are ASCII. Again, this has nothing to do with NSString. I think you’re off base here. —Jens _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
