pub fn is_video(buf: &[u8]) -> bool
Determines whether a buffer is a video type.
use std::fs; assert!(infer::is_video(&fs::read("testdata/sample.mov").unwrap()));