I am confused with the outcome of your code.without knowing what the values are in the array. So I make a byte array with random values within the ascii capital letter range, to then transform to a String.
Maybe you can elaborate on the meaning of your code
void setup() {
// making random byte array
byte[] bytes = new byte[500];
for (int i = 0; i < 500; i++) {
float v = random(65, 90); //-128, 127); To make it readable
bytes[i] = byte(v);
}
byte[] bytes_cut = new byte[16];
arrayCopy(bytes, 308, bytes_cut, 0, 16);
String s = new String(bytes_cut);
print(s);
}
Edit How stupid I now see that you are only printing the int, sorry.