Skip to main content

file_occurrence_counts

Function file_occurrence_counts 

Source
pub fn file_occurrence_counts<R: Read + Seek>(
    reader: R,
    max: u64,
) -> Result<Option<Vec<(String, u32)>>>
Expand description

How often an Inventor assembly places each referenced file: (file name, occurrences). None when the file is not a compound file or has no descriptor stream; reads at most max bytes of the stream.