Compression.None

Updated on

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 
)

Other related enumerations are:

Applies to

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

BI Gorilla Youtube Channel

Contribute » | Contributors: Rick de Groot