Compression.LZ4

Updated on

Compression.LZ4 (4) is an enumeration that specifies the type of compression. It is a member of the Compression.Type and specifies that the compressed data is in the ‘LZ4’ format.

Examples

// Compresses a binary file in the LZ4 format.
= Binary.Compress( #binary( {1, 22, 3, 44} ), Compression.LZ4 )
= Binary.Compress( #binary( {1, 22, 3, 44} ), 4 )

// Decompresses a binary file in the LZ4 format.
= Binary.Decompress( #binary( {1, 22, 3, 44} ), Compression.LZ4 )
= Binary.Decompress( #binary( {1, 22, 3, 44} ), 4 )

Other related enumerations are:

Applies to

Here’s a list of functions that work with Compression.Type:

Contribute » | Contributors: Rick de Groot