1 unstable release
Uses old Rust 2015
0.1.1 | May 13, 2018 |
---|---|
0.1.0 |
|
#3 in #decompressor
12KB
232 lines
Rust Nintendo LZSS Decompressor
Usage
Add to your Cargo.toml
file:
[dependencies]
rust_lzss = "~0.1"
Example
extern crate rust_lzss;
use rust_lzss::decompress;
use std::io::Cursor;
let lzss10: [u8; 11] = [ 0x10, 0x14, 0x00, 0x00, 0x08, 0x61, 0x62, 0x63, 0x64, 0xD0, 0x03, ];
let decoded = decompress(&mut Cursor::new(lzss10));
lib.rs
:
Decompresses LZSS types implemented by Nintendo based on https://github.com/magical/nlzss
Dependencies
~220KB