Binary.Decompress

Syntax

 
Binary.Decompress(binary as nullable binary, compressionType as number) as nullable binary

About

Decompresses a binary value using the given compression type. The result of this call is a decompressed copy of the input. Compression types include:

  • Compression.GZip

  • Compression.Deflate

Example 1

Decompress the binary value.

Binary.Decompress(#binary({115, 103, 200, 7, 194, 20, 134, 36, 134, 74, 134, 84, 6, 0}), Compression.Deflate)
#binary({71, 0, 111, 0, 111, 0, 100, 0, 98, 0, 121, 0, 101, 0})