jagged 0.2.0

jagged provides an API to read data entries from JAG archives.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use anyhow::Result;
use jagged::Archive;
use std::convert::TryFrom;
use std::path::Path;

fn main() -> Result<()> {
    let path = Path::new("release/jagex.jag");
    let archive = Archive::try_from(path)?;

    println!("archive entry size: {}", archive.len());
    Ok(())
}