Hey I want to know how to convert a printed data (i printed it with NSLog) such as this:
<01000405 00000000 00000000 00000000 00000000>
Back to NSData
?
I tried
[NSString stringWithFormat:@"<01000405 00000000 00000000 00000000 00000000>"] dataUsingEncoding:NSUTF8StringEncoding]
But it just gave me this result:
<3c303130 30303430 32203030 30303030 30302030 30303030 30303020 30303030 30303030 20303030 30303030 303e>