Luna::strhash8
constexpr u8 strhash8(const c8 *s, u8 h=0)
A specialization of strhash that computes 8-bit hash code.
Parameters
-
in s
A pointer to one null-terminated string to compute.
-
in h
A initial hash value. See memhash for details.
Return value
Returns the hash code of the string.