• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Quick way to convert hex string represented in ASCII to binary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Quick way to convert hex string represented in ASCII to binary?
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: Charting class?
  • Next by Date: Re: Quick way to convert hex string represented in ASCII to binary?
  • Previous by thread: Re: What is the fastest way to find all files associated with particular application?
  • Next by thread: Re: Quick way to convert hex string represented in ASCII to binary?
  • Index(es):
    • Date
    • Thread