U8 * pData换成 int[] array 在开头加上 int pData = 0; fcs ^ *pData 换成 fcs ^ array[pData]; 别的不变即可。
如果你会JNI的话就可以