LZMA/LZMA2 codec ported from tukaani xz for java
Usage
lzma
use ;
use *;
let s = b"Hello, world!";
let mut out = Vec new;
let mut options = with_preset;
options.dict_size = DICT_SIZE_DEFAULT;
let mut w = new_use_header.unwrap;
w.write_all.unwrap;
w.write.unwrap;
let mut r = new_mem_limit.unwrap;
let mut s2 = vec!;
r.read_exact.unwrap;
println!;
assert_eq!;
lzma2
use ;
use *;
let s = b"Hello, world!";
let mut out = Vec new;
let mut options = with_preset;
options.dict_size = DICT_SIZE_DEFAULT;
let mut r = new;
let mut s2 = vec!;
r.read_exact.unwrap;
println!;
assert_eq!;