Compress data
buffer containing the data to compress
compression level. Legal values are -1 .. 9, with -1 indicating the default level (6), 0 indicating no compression, 1 being the least compression and 9 being the most.
the compressed data
See Implementation
Compress data