Compresses the source buffer into the destination buffer.
xcompress returns Z_OK if success, Z_MEM_ERROR if there was not enough memory, Z_BUF_ERROR if there was not enough room in the destination buffer.
source Source data to compress. |
Result |
dest Destination buffer to compress into. |