I currently have an NSString containing hex values. I need to convert this NSString object into an NSData object, without changing its contents at all.
I currently have an NSString containing hex values. I need to convert this NSString
Share
I use this code to “parse” the debug output of an NSData object (what you get in the console if you just NSLog an NSData object) back into NSData:
It’s not my most robust code, but it does the job of parsing [nsdata_object description].