rpak
Simple no_std-compatible helper for the Quake 2 PAK format.
Library usage
Add to your Cargo.toml
:
= "0.2"
The "std" feature is enabled by default, for no_std environments (only where
alloc
is available), use:
= { = "0.2", = false }
To load an archive:
use PakArchive;
let mut data: = Vec new;
let _ = open?.read_to_end?;
let archive = from_bytes?;
assert!;
License
MIT