Hi
I have some C code that stores ASCII strings in memory as a four byte length followed by the string. The string lengths are in the range 10-250 bytes.
To reduce occupancy I'd like to compress each string individually on the fly, still storing the length (of the compressed string) followed by the compressed string.
I don't want to compress at a larger scope than individual strings because any string can be read/written at any time.
What libraries/algorithms are available for doing this?
Thanks for your help. NickB