pub fn verify<R: Read + Seek>(reader: R) -> Result<(), VerificationError>Expand description
Verify the structure and checksums of the given reader
let mut file = std::fs::File::open("sample-files/FRED.CPT").unwrap();
assert!(cpt::verify(file).is_ok());