[][src]Function metagoblin::mach::parse_magic_and_ctx

pub fn parse_magic_and_ctx(
    bytes: &[u8],
    offset: usize
) -> Result<(u32, Option<Ctx>), Error>

Parses a magic number, and an accompanying mach-o binary parsing context, according to the magic number.