{{newin|[[0.10.0]]|100|type=function}}
{{deprecatedin|[[11.0]]|110|type=function|text=This function is deprecated and is replaced by [[love.data.decompress]]}}
Decompresses a [[CompressedData]] or previously compressed string or [[Data]] object.
== Function ==
=== Synopsis ===
<source lang="lua">
rawstring = love.math.decompress( compressedData )
</source>
=== Arguments ===
{{param|CompressedData|compressedData|The compressed data to decompress.}}
=== Returns ===
{{param|string|rawstring|A string containing the raw decompressed data.}}
== Function ==
=== Synopsis ===
<source lang="lua">
rawstring = love.math.decompress( compressedString, format )
</source>
=== Arguments ===
{{param|string|compressedstring|A string containing data previously compressed with [[love.math.compress]].}}
{{param|CompressedDataFormat|format|The format that was used to compress the given string.}}
=== Returns ===
{{param|string|rawstring|A string containing the raw decompressed data.}}
== Function ==
=== Synopsis ===
<source lang="lua">
rawstring = love.math.decompress( data, format )
</source>
=== Arguments ===
{{param|Data|data|A Data object containing data previously compressed with [[love.math.compress]].}}
{{param|CompressedDataFormat|format|The format that was used to compress the given data.}}
=== Returns ===
{{param|string|rawstring|A string containing the raw decompressed data.}}
== See Also ==
* [[parent::love.math]]
* [[love.math.compress]]
[[Category:Functions]]
{{#set:Description=Decompresses a [[CompressedData]] or previously compressed string or [[Data]] object.}}
== Other Languages ==
{{i18n|love.math.decompress}}