Luna::memhash16
u16 memhash16(const void *data, usize size, u16 h=0)
A specialization of memhash that computes 16-bit hash code.
Parameters
-
in data
A pointer to the data to be hashed.
-
in size
The length of the data in bytes.
-
in h
A initial hash value. See memhash for details.
Return value
Returns the hash code of the data.