Skip to main content

recognizes_xtra

Function recognizes_xtra 

Source
pub fn recognizes_xtra(bytes: &[u8]) -> bool
Expand description

Whether bytes are an AIM .xtra file: a Boost binary archive’s signature, the sample’s top object header, and a first record whose class is an AIM kind’s. The rest isn’t read here: read_xtra refuses a file whose records differ from the sample’s, naming the byte.