i18n-api/src/main/java/com/blackypaw/mc/i18n/FNVHash.java
/**
	 * Calculates the FVN-1a 32-bit hash value of the given bytes.
	 *
	 * @param buffer The bytes to hash
	 * @return The hash value of the bytes
	 */
Calculates the FVN-1a 32-bit hash value of the given bytes.
@param buffer The bytes to hash
@return The hash value of the bytes
Calculates the FVN - 1a 32 - bit hash value of the given bytes . @param buffer The bytes to hash @return The hash value of the bytes
public static int hash1a32( byte[] buffer ) {
		int hash = (int) FNV_32_OFFSET;
		for ( int i = 0; i < buffer.length; ++i ) {
			hash ^= buffer[i];
			hash *= FNV_32_PRIME;
		}
		return hash;
	}
public static int hash1a32 ( byte [ ] buffer ) { int hash = ( int ) FNV_32_OFFSET ; for ( int i = 0 ; i < buffer . length ; ++ i ) { hash ^= buffer [ i ] ; hash *= FNV_32_PRIME ; } return hash ; }
Calculates the FVN-1a 32-bit hash value of the given bytes.
Calculates the FVN - 1a 32 - bit hash value of the given bytes .