I have a bunch of ids in the form of uint32_t-uint32_t
two unsigned integers separated by a hyphen. I'm looking to compress them. I was thinking to convert them to BCD (in other words two digits per byte) and output the compressed string. For example, 90-1418
90-1418 -> 0x39 0x00 0x2d 0x31 0x34 0x31 0x38
\ / | \ / \ /
0x90 0x2d 0x14 0x18
Are there any libraries in C out there that can compress/decompress this type of strings?