Compress a block of data. The length of data is not recorded. Returns the length of output or 0 if it is longer than the size of the output buffer.
Decompress a block of data. Returns the length of data uncompressed or 0 on error.
Compress a string with worst case length = original + 1. The first char of the string contains the length of the original.