Function object::read::pe::optional_header_magic[][src]

pub fn optional_header_magic<'data, R: ReadRef<'data>>(data: R) -> Result<u16>
Expand description

Find the optional header and read the optional_header.magic.

It can be useful to know this magic value before trying to fully parse the NT headers.