title: Byte/Int Conversion
body: <p>So I am trying to take an int ex. 3240 and convert to a byte which prints -88.          </p>
  
  <pre><code>        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]);
  </code></pre>
  
  <p>I have problems converting back to a int from the byte. How do i take -88 and make it 3240 again?  </p>