Vital.sandbox
Shrinker

shrinker.decompress

Shared

Decodes a compressed string using zlib library


Syntax

local result = shrinker.decompress(input)

Parameters

TypeNameDescription
stringinputCompressed string to be decompressed

Returns

TypeNameDescription
string / boolresultDecompressed string on successful execution, or false on failure

Examples

local input = shrinker.compress("Hello World")

engine.print("Input:", input)
engine.print("Decompressed:", shrinker.decompress(input))

On this page