"Sputnik" help  
Sputnik Help
BinaryDecompress(<compressedBinary>)

Description

Decompresses binary data that has been compressed using the GZIP compression algorithm.

Parameters

<compressedBinary> The compressed binary data to be decompressed.

Return Value

Success: Returns decompressed binary data.
Failure: Returns empty binary data.

Remarks

The BinaryDecompress function takes a compressed binary input that was previously compressed using GZIP compression. It decompresses the input data and returns the decompressed result.

Related

BinaryCompress, BinaryCompressLz4, BinaryDecompressLz4

Example

Compress and decompress data:

my $compressedData = BinaryCompress((binary)"Cat");
BinaryExpandPrintLn($compressedData, false);
my $decompressedData = BinaryDecompress($compressedData);
say $decompressedData;
// PRINTS
// 1F 8B 08 00 00 00 00 00 04 00 73 4E 2C 01 00 48 ..........sN,..H
// 05 13 A6 03 00 00 00 -- -- -- -- -- -- -- -- -- ..¦....
// Cat

 


Contact
Cheryl (uberfox@hotmail.com)
Homepage
http://ubersoft.org