[][src]Function symbolic_debuginfo::peek

pub fn peek(data: &[u8], archive: bool) -> FileFormat

Tries to infer the object type from the start of the given buffer.

If archive is set to true, multi architecture objects will be allowed. Otherwise, only single-arch objects are checked.