I want to understand how to convert signed number into unsigned.
lets say I have this:
byte number = 127; // \'1111111\'
In order t
If you just move from a negative byte to int the int will be negative too. Sou you take the negative int (or short in your example) and set the highest 3 byte (int) to 0x00.