Compression.None (-1) is an enumeration that specifies the type of compression. It is a member of the Compression.Type and specifies that the data is uncompressed.
Examples
You can instruct Binary.Compress to not use any compression type.
Binary.Compress(
#binary( { 1, 22, 3, 44 } ),
Compression.None
)
// ------ which is identical to -----------
Binary.Compress(
#binary( { 1, 22, 3, 44 } ),
-1
)
To decompresses a binary file without a compression type you write:
Binary.Decompress(
#binary( { 1, 22, 3, 44 } ),
Compression.None
)
// ------ which is identical to -----------
Binary.Decompress(
#binary( { 1, 22, 3, 44 } ),
-1
)
Related enumerations
Other related enumerations are:
- Compression.Brotli
- Compression.Deflate
- Compression.GZip
- Compression.LZ4
- Compression.Snappy
- 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