smaz2 in rust implement.
smaz2 is a small messages compression algorithm for LoRa and embedded devices