pub fn probe<R: Read + Seek>(reader: R) -> Result<(FourCC, FourCC), Error>Expand description
Detect if the given reader is a CPT archive
let mut file = std::fs::File::open("sample-files/FRED.CPT").unwrap();
assert!(cpt::probe(file).is_ok());
let mut file = std::fs::File::open("README.md").unwrap();
assert!(cpt::probe(file).is_err());