I have a NSData object which is supposed to work like a byte array.
I need to get the 1st and 2nd bytes in the NSData, but don’t know how.
If I have a byte array in Java, I can easily get those via barray[0] and barray[1], but how do I do it for NSData?
Thanks
1 Answer