private int bytesNetworkOrder2Number(byte[] bytesInNetworkOrder) {
    int sourceNumber = 0;
    for (int i = 0; i < 4; i++) {
      sourceNumber <<= 8;
      sourceNumber |= bytesInNetworkOrder[i] & 0xff;
    }
    return sourceNumber;
  }
private int bytesNetworkOrder2Number ( byte [ ] bytesInNetworkOrder ) { int sourceNumber = 0 ; for ( int i = 0 ; i < 4 ; i ++ ) { sourceNumber <<= 8 ; sourceNumber |= bytesInNetworkOrder [ i ] & 0xff ; } return sourceNumber ; }
4个字节的网络字节序bytes数组还原成一个数字

@param bytesInNetworkOrder