result+=(int)((arr[i] & 0xff)<<i*8);
0xff就是八个1的二进制数,arr[i]是一个byte型整数,把其左移到相应的高位,再强制转换为interesting类型,并累加到result中