Struct rpak::PakArchive [−][src]
Expand description
An in-memory representation of a PAK archive
Fields
files: Vec<(String, &'a [u8])>
Files contained within this archive
Implementations
Add a file to the archive with the given file name, containing the given data.
Decode a PAK archive from an input byte slice.
Returns Err(())
if the PAK file header was invalid.