Skip to main content

count_frames

Function count_frames 

Source
pub fn count_frames(path: &Path) -> Result<usize, Box<dyn Error>>
Expand description

Count frames without building atom payloads (uses ConFrameIterator::forward_fast when possible, else ConFrameIterator::forward).

Prefer this over read_all_frames(...).len() when only the frame count is needed.