repak/examples/read.rs
2023-01-07 21:10:11 +00:00

8 lines
229 B
Rust

fn main() -> Result<(), un_pak::Error> {
let pak = un_pak::Pak::new(
un_pak::Version::CompressionEncryption,
std::io::Cursor::new(include_bytes!("rando_p.pak")),
)?;
print!("{:#?}", pak);
Ok(())
}