Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Compresses the string or byte array into GZip format.

Syntax

GZip.compress($content)

Where $content is a string or binary data.

Example

Expression: GZip.compress($content)

Result: Returns $content as a GZipped byte array.

...

Description

Decompresses a GZipped string or byte array.

Syntax

GZip.decompress($content)

Where $content is a string or binary data.

Example

Expression: GZip.decompress($content)

Result: Returns $content as an unzipped byte array.

...