[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/22/2009 at 01:08PM PDT, ID: 24835990 | Points: 500
[x]
Attachment Details

How to convert an NSString to Byte*

Asked by Geesu in Cocoa Programming Language, Objective-C Programming Language

Pretty straightforward, I'd like to convert an NSString * of hexadecimal values to a Byte*  .  See the example NSString below.  (basically I'm storing signatures in a database + need to convert them to Byte*)

Thanks!
1:
NSString *myString = @"\x3B\x10\x01\x12\x3C\x60"
 
Keywords: How to convert an NSString to Byte*
 
Loading Advertisement...
 
[+][-]10/22/09 11:59 PM, ID: 25641844

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/17/09 07:41 AM, ID: 25840732

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625