All offsets are in bytes relative to the end of this header

Fields

magic: u16,
version: u8,
flags: u8,
hdr_len: u32,
type_off: u32,

offset of type section

type_len: u32,

length of type section

str_off: u32,

offset of string section

str_len: u32,

length of string section