I have a NSData
of Hex
<80140142 0073ffff ffff04ff>
I can get the Byte
value by index
NSData *commandIDData = [mqttResponseData subdataWithRange:NSMakeRange(3,1)]; <42> // 66
How Can I get the Bit
value by index?
0100 0010
e.g
index[0]=0 index[1]=1
index[2]=0
index[4]=0