将一个字节中的数据(16进制),转为有符号的十进制数 result=byteRecvData[1]<<8 | byteRecvData[0]; if (byteRecvData[11]>>7==0x01) { result = result-65536; } 得到result