repak/examples/read.rs

9 lines
229 B
Rust
Raw Normal View History

2023-01-03 10:33:42 +00:00
fn main() -> Result<(), un_pak::Error> {
2023-01-07 21:10:11 +00:00
let pak = un_pak::Pak::new(
un_pak::Version::CompressionEncryption,
std::io::Cursor::new(include_bytes!("rando_p.pak")),
)?;
print!("{:#?}", pak);
Ok(())
2023-01-03 10:33:42 +00:00
}