两个字节的字节数组转成整型数据

 public int merge(byte high, byte low)
        {
            return (((0x000000ff & high) << 8) & 0x0000ff00) | (0x000000ff & low);
        }    

你可能感兴趣的:(byte,merge)