Function shard_ecs::fnv1a::fnv1a_hash_16_xor [−][src]
pub const fn fnv1a_hash_16_xor(bytes: &[u8], limit: Option<usize>) -> u16
Expand description
Computes 32-bits fnv1a hash and xors higher and lower 16-bits. Up to limit if provided, otherwise slice length. If limit is zero or exceeds slice length, slice length is used instead.