Struct rpak::PakHeader [−][src]
Expand description
The PAK file header
Fields
table_offset: u32
Offset of the file table, from the start of the file
table_size: u32
Size of the file table
Implementations
Create a new PAK header with the given file table offset and size
Parse a PAK header from a byte slice.
Returns Err(())
if the PAK file header was invalid.