pub fn is_valid(offset: &Range<usize>, num_objects: u32) -> bool
Returns true if the offset range seems to match the size required for num_objects.
offset
num_objects