GZip Functions and Properties
The GZip function can be used to compress/decompress a string or a byte array.
compress
Description | Compresses the string or byte array into GZip format. |
---|---|
Syntax |
Where $content is a string or binary data. |
Example | Expression:Â GZip.compress($content) Result: Returns $content as a GZipped byte array. |
decompress
Description | Decompresses a GZipped string or byte array. |
---|---|
Syntax |
Where $content is a string or binary data. |
Example | Expression:Â GZip.decompress($content) Result: Returns $content as an unzipped byte array. |
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.