love.data.decompress

Available since LÖVE 11.0
Deprecates love.math.decompress.

Decompresses a CompressedData or previously compressed string or Data object.

Function

Synopsis

decompressedData = love.data.decompress( container, compressedData )

Arguments

ContainerType container
What type to return the decompressed data as.
CompressedData compressedData
The compressed data to decompress.

Returns

value decompressedData
Data/string containing the raw decompressed data.

Function

Synopsis

decompressedData = love.data.decompress( container, format, compressedString )

Arguments

ContainerType container
What type to return the decompressed data as.
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

value decompressedData
Data/string containing the raw decompressed data.

Function

Synopsis

decompressedData = love.data.decompress( container, format, data )

Arguments

ContainerType container
What type to return the decompressed data as.
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

value decompressedData
Data/string containing the raw decompressed data.

See Also

Other Languages