bytes
in Java are always signed.
If you want to obtained the unsigned value of these bytes, you can store them in an int
array:
byte[] signed = {43, 0, 0, -13, 114, -75, -2, 2, 20, 0, 0};
int[] unsigned = new int[signed.length];
for (int i = 0; i < signed.length; i++) {
unsigned[i] = signed[i] & 0xFF;
}
You'll get the following values:
[43, 0, 0, 243, 114, 181, 254, 2, 20, 0, 0]