extern struct Header [src]

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

Fields

magic: u16
version: u8
flags: u8
hdr_len: u32
type_off: u32offset of type section
type_len: u32length of type section
str_off: u32offset of string section
str_len: u32length of string section

Source

pub const Header = extern struct { magic: u16, version: u8, flags: u8, hdr_len: u32, /// offset of type section type_off: u32, /// length of type section type_len: u32, /// offset of string section str_off: u32, /// length of string section str_len: u32, }