fn read_index( reader: &mut impl Read, next: &mut usize, count: usize, ) -> Result<usize, SerializationError>