jampack 1.0.0

Lightweight, asynchronous and extensible asset framework made for use in games and apps.
Documentation
1
2
3
4
5
6
use crate::Result;

pub trait Jam: Sized {
    fn unjar(ty: u8, data: Vec<u8>) -> Result<Self>;
    fn jam_idx() -> u8;
}