I have 2 bytes:
byte b1 = 0x5a; byte b2 = 0x25;
How do I get 0x5a25 ?
0x5a25
byte b1 = 0x5a; byte b2 = 0x25; Int16 x=0; x= b1; x= x << 8; x +=b2;