title: 2 bytes to short java
body: <p>i'm reading 133 length packet from serialport,last 2 bytes contain CRC values,2 bytes value i've make single(short i think) using java.
  this what i have done,</p>
  
  <pre><code>short high=(-48 &amp; 0x00ff);
  short low=80;
  
  short c=(short) ((high&lt;&lt;8)+low);
  </code></pre>
  
  <p>but i'm not getting correct result,is it problem because signed valued?
  how can i solve this problem,plz help me i'm in trouble</p>