So I am trying to take an int ex. 3240 and convert to a byte which prints -88. 

```
        final int x = (int) (buffer[bufferIndex++] * 32767.0);
        System.out.println("1 " + x);
        byteBuffer[i] = (byte) x;
        System.out.println("2 " + (byte) x);
        System.out.println("3 " + (int) byteBuffer[i]);

```

I have problems converting back to a int from the byte. How do i take -88 and make it 3240 again?