Function object::read::pe::optional_header_magic
source · pub fn optional_header_magic<'data, R: ReadRef<'data>>(data: R) -> Result<u16>
Expand description
Find the optional header and read its magic
field.
It can be useful to know this magic value before trying to fully parse the NT headers.