@ Pure public static int toLEInt ( int b1 , int b2 , int b3 , int b4 ) { return ( ( b4 & 0xFF ) << 24 ) + ( ( b3 & 0xFF ) << 16 ) + ( ( b2 & 0xFF ) << 8 ) + ( b1 & 0xFF ) ; }
Converting four bytes to a Little Endian integer .