I am trying to convert a signed byte in unsigned. The problem is the data I am receiving is unsigned and Java does not support unsigned byte, so when it reads the data it tr
A side note, if you want to print it out, you can just say
byte b = 255; System.out.println((b < 0 ? 256 + b : b));