love.data.decompress

Available since LÖVE 0.11.0
It has replaced love.math.decompress.

Decompresses a CompressedData or previously compressed string or Data object.

Function

Synopsis

rawstring = love.data.decompress( compressedData )

Arguments

CompressedData compressedData
The compressed data to decompress.

Returns

string rawstring
A string containing the raw decompressed data.

Function

Synopsis

rawstring = love.data.decompress( format, compressedString )

Arguments

CompressedDataFormat format
The format that was used to compress the given string.
string compressedstring
A string containing data previously compressed with love.data.compress.

Returns

string rawstring
A string containing the raw decompressed data.

Function

Synopsis

rawstring = love.data.decompress( format, data )

Arguments

CompressedDataFormat format
The format that was used to compress the given data.
Data data
A Data object containing data previously compressed with love.data.compress.

Returns

string rawstring
A string containing the raw decompressed data.

See Also

Other Languages