Compression.Snappy

Updated on

Compression.Snappy (2) 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 ‘Snappy’ format.

Examples

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

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

Other related enumerations are:

Applies to

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

Contribute » | Contributors: Rick de Groot