Skip to main content

extract_display_sets_with_stats

Function extract_display_sets_with_stats 

Source
pub fn extract_display_sets_with_stats(
    path: &Path,
    track_id: Option<u32>,
) -> Result<(Vec<DisplaySet>, ExtractionStats), PgsError>
Expand description

Extract PGS Display Sets for a single track and return I/O statistics.

Same as extract_display_sets, but also returns ExtractionStats with file size and bytes actually read — useful for benchmarking and verifying the library’s I/O efficiency.