Quick way to convert hex string represented in ASCII to binary?
Quick way to convert hex string represented in ASCII to binary?
- Subject: Quick way to convert hex string represented in ASCII to binary?
- From: Ken Tozier <email@hidden>
- Date: Sat, 29 Jul 2006 03:20:08 -0400
Hi
I'm storing aliases in a database by converting the alias records to
NSData objects and then getting a description of these objects for
storage. Is there a quick way to turn this ascii representation of
hex back into binary data? I know I can do it by looping through each
character in the string and manually converting it, but I'm wondering
if anyone knows of a better way to do it.
Thanks
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden