Compresses the data in the original data buffer, src, using
the specified compression format, fmt, and stores the compressed data in
the compressed string dst. Returns whether or not the specified
compression format was available and if the data was successfully
compressed using that format.