Objective C - Parse NSData

Posted by EZFrag on Stack Overflow See other posts from Stack Overflow or by EZFrag
Published on 2012-06-12T10:32:53Z Indexed on 2012/06/12 10:40 UTC
Read the original article Hit count: 190

Filed under:
|

I have the following data inside an NSData object:

<00000000 6f2d840e 31504159 2e535953 2e444446 3031a51b 8801015f 2d02656e 9f110101 bf0c0cc5 0affff3f 00000003 ffff03>

I'm having issues parsing this data. This data contains information which is marked by tags

Tag 1 is from byte value 0x84 to 0xa5

Tag 2 is from byte value 0xa5 to 0x88

Tag 3 is from byte value 0x88 to 0x5f0x2d

Tag 4 is from byte value 0x5f0x2d to 0x9f0x11

How would I go about to get those values from the NSData object?

Regards, EZFrag

© Stack Overflow or respective owner

Related posts about parsing

Related posts about nsdata