pub const fn hash_bytes(bytes: &[u8]) -> u32
Calculate the hash for a sequence of bytes.
use pw_tokenizer_core::hash_bytes; let hash = hash_bytes(&[0x34, 0xd8, 0x3a, 0xbb, 0xf1, 0x0e, 0x07]); assert_eq!(hash, 0x9e624642);