pub fn make_iterator<T: DeserializeOwned, R: Read + 'static>( expected_magic: u32, reader: R, ) -> Result<impl Iterator<Item = T>>