直接使用工具类

public  boolean getRequestData(byte []bytesOne){
     byte [] bytesTow = {-126, 125, 0, 0, 2, 2, 1, -128, 16, 0, 68, 105, 103, 105, 32,
                        65, 117, 100, 105, 111, 32, 80, 114, 111, 99, 101, 125, -126};
             //传入两个数组,元素完全相等则返回ture,否则返回false
        return Arrays.equals(bytesOne,bytesTow);
   }