Struct quake_files::pak::PakFile [] [src]

pub struct PakFile { /* fields omitted */ }

A Quake 1 PAK file. Stores a list of directory entries and allows reading single files or extracting the archive to a path.

Methods

impl PakFile
[src]

Reads the .PAK file at the given path. Does not actually read any of the content files, just stores the directory entries.

Reads the contents of a file with the given name to a Vec<u8>.

Extracts the contents of this PAK file to the given location.

Trait Implementations

impl Debug for PakFile
[src]

Formats the value using the given formatter.