private static int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) {
        return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8))
                + (unsignedByteToInt(b2) << 16) + (unsignedByteToInt(b3) << 24);
    }
private static int unsignedBytesToInt ( byte b0 , byte b1 , byte b2 , byte b3 ) { return ( unsignedByteToInt ( b0 ) + ( unsignedByteToInt ( b1 ) << 8 ) ) + ( unsignedByteToInt ( b2 ) << 16 ) + ( unsignedByteToInt ( b3 ) << 24 ) ; }
Convert signed bytes to a 32-bit unsigned int.