pub const fn xxh64(data: &[u8]) -> u64Expand description
Compute the XXH64 hash of data in a single call.
Available as a const fn for compile-time hashing with seed=0.
ยงExample
use xxhash::xxh64;
let hash: u64 = xxh64(b"hello");
assert_eq!(hash, 0x26C7827D889F6DA3);