A rust library for compressing and decompressing big integers. Note that the library is still under heavy development and breaking changes may occur.
``` let num = 1234u32;
let compressed = Unsigned::compress61439(num).unwrap(); let decompressed = Unsigned::decompress61439(compressed.to_vec()).unwrap();
println!("size before compression: {}", num.tobebytes().len()); //size before compression: 4
println!("size after compression: {}", compressed.len()); //size after compression: 2
println!("{}", decompressed == num); //true ```
TODO!