Function ADS::hashBytes

Function Documentation

std::uint64_t ADS::hashBytes(const void *p, std::size_t n, std::uint64_t seed = 0)

the hash of the n bytes from p under the seed

Pre:

p is not nil if n > 0