COMPRESS
COMPRESS(dataBytes [, algorithmString])
Parameters
dataBytes
- data to compress.algorithmString
- an algorithm to use for compression.
Description
Compress the data using the specified compression algorithm. Supported algorithms are: LZF (faster but lower compression; default), and DEFLATE (higher compression). Compression does not always reduce size. Very small objects and objects with little redundancy may get larger. This method returns bytes.
Example
COMPRESS(STRINGTOUTF8('Test'))
Updated over 4 years ago