public int getShort(int offset)
  {
    int b0 = getCode()[offset + 0] & 0xff;
    int b1 = getCode()[offset + 1] & 0xff;
    
    return (short) ((b0 << 8) + b1);
  }
public int getShort ( int offset ) { int b0 = getCode ( ) [ offset + 0 ] & 0xff ; int b1 = getCode ( ) [ offset + 1 ] & 0xff ; return ( short ) ( ( b0 << 8 ) + b1 ) ; }
Reads a short value.