my first try porting a compression algorithm, it's really just the direct port of the python3 version ;)
most likely broken, but it "should" compress your stuff, I recommend using the other Yaz0 library for compression. The one who wrote it seems to be a lot more knowledgable in both Rust and Compression algorithms :/
decompresses the entire buffer :)
another name for compressing
generates a Yaz0 header.
another name for decompressing