Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Text.ZLibDecompress

Decompresses the given data using lib.

Component Version macOS Windows Linux Server iOS SDK
Text 15.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Text.ZLibDecompress"; Input; InputEncoding; Output { ; FileName or Encoding; Flags } )   More

Parameters

Parameter Description Example Flags
Input The compressed data.
Can be a container value, hex or base64 text.
InputEncoding The input encoding.
If you pass text as input, you can pass here Hex or Base64.
"Base64"
Output How to package the output.
Can be Text, Hex, Base64 or Container.
"Text"
FileName or Encoding For a container as output the file name to use.
For a text output the text encoding.
"UTF-8" Optional
Flags Pass 1 for raw compression. Optional

Result

Returns data or error.

Description

Decompresses the given data using lib.
Can optional do raw zlib without header and checksum.

Examples

Decompress compressed data:

MBS( "Text.ZLibDecompress"; "eNrzSM3JyVfwAJPh+UU5KRA2AGH1CEU="; "Base64"; "Text"; "UTF-8")

Example result: Hello Hello World Hello

See also

Release notes

  • Version 15.5
    • Added Text.ZLibCompress and Text.ZLibDecompress functions.

Blog Entries

This function checks for a license.

Created 9th October 2025, last changed 10th October 2025


Text.ZLibCompress - TextView.AppendStyledText