Function shard_ecs::fnv1a::fnv1a_hash_32[][src]

pub const fn fnv1a_hash_32(bytes: &[u8], limit: Option<usize>) -> u32
Expand description

Computes 32-bits fnv1a hash of the given slice, or up-to limit if provided. If limit is zero or exceeds slice length, slice length is used instead.