Description

The range for signed bytes is -128 to 127, and for unsigned bytes is 0 to 255.
The byte number to signed byte number is (byte << 24) >> 24, and to unsigned byte number is & 255.

For example: Byte array [-118, 70, 255] converted to signed numbers results in [-118, 70, -1].
And byte array [-118, 70, 255] converted to signed numbers results in [138, 70, 255].

0 Comments

0 / 300