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 )
Related enumerations
Other related enumerations are:
- Compression.Brotli
- Compression.Deflate
- Compression.GZip
- Compression.LZ4
- Compression.None
- Compression.Zstandard
Applies to
Here’s a list of functions that work with Compression.Type:
2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy