pub fn is_valid(offset: &Range<usize>, hash: Kind, num_objects: u32) -> bool
Return true if the size of the offset range seems to match for a hash of the given kind and the amount of objects.
offset
hash