Function measureme::file_header::verify_file_header[][src]

#[must_use]
pub fn verify_file_header(
    bytes: &[u8],
    expected_magic: &[u8; 4],
    diagnostic_file_path: Option<&Path>,
    stream_tag: &str
) -> Result<(), Box<dyn Error + Send + Sync>>