I have int values of two bytes for example 254 = 0xFE, 112 = 0x70
.
I need to convert them to signed short. Now the signed short value should be -400.
And then after changing that value I have an integer for example -410
that i need to convert back to two bytes.
How could i achieve that for iOS?