[][src]Function nintendo_lz::decompress

pub fn decompress(inp: &mut Read) -> Result<Vec<u8>, Box<Error>>

Decompresses an LZ10/LZ11 compressed file. It returns an error when:

Example

let mut f = File::open("Archive.bin.cmp");
let mut decompressed = nintendo_lz::decompress(&mut f).unwrap();