Skip to end of banner
Go to start of banner

GZip Functions and Properties

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

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

GZip.compress()

Example

Expression: GZip.compress($content)

Result: Returns $content as a GZipped byte array.

decompress

Description

Decompresses a GZipped string or byte array.

Syntax

GZip.decompress()

Example

Expression: GZip.decompress($content)

Result: Returns $content as an unzipped byte array.


  • No labels