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 )
Related enumerations
Other related enumerations are:
- Compression.Brotli
- Compression.Deflate
- Compression.GZip
- Compression.None
- Compression.Snappy
- Compression.Zstandard
Applies to
Here’s a list of functions that work with Compression.Type:
