Function object::read::pe::file::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.