Here you can find the source of Bytes2Uint32(byte[] sour, int offset)
public static long Bytes2Uint32(byte[] sour, int offset)
//package com.java2s; public class Main { public static long Bytes2Uint32(byte[] sour, int offset) { return Bytes2Int32(sour, offset) & 0xFFFFFFFFL; }/*from w w w. j a v a 2 s . c om*/ public static int Bytes2Int32(byte[] sour, int offset) { return (((sour[offset] << 24) & 0xFF000000) | ((sour[offset + 1] << 16) & 0x00FF0000) | ((sour[offset + 2] << 8) & 0x0000FF00) | (sour[offset + 3] & 0x000000FF)); } }