Skip to main content

read_first_frame

Function read_first_frame 

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

Reads only the first frame from a file.

More efficient than read_all_frames for single-frame access because it stops parsing after the first frame rather than collecting all of them.