{{newin|[[11.0]]|110|type=function|text=Deprecates [[love.math.decompress]]}}
Decompresses a [[CompressedData]] or previously compressed string or [[Data]] object.
== Function ==
=== Synopsis ===
<source lang="lua">
decompressedData = love.data.decompress( container, compressedData )
</source>
=== Arguments ===
{{param|ContainerType|container|What type to return the decompressed data as.}}
{{param|CompressedData|compressedData|The compressed data to decompress.}}
=== Returns ===
{{param|value|decompressedData|[[Data]]/[[string]] containing the raw decompressed data.}}
== Function ==
=== Synopsis ===
<source lang="lua">
decompressedData = love.data.decompress( container, format, compressedString )
</source>
=== Arguments ===
{{param|ContainerType|container|What type to return the decompressed data as.}}
{{param|CompressedDataFormat|format|The format that was used to compress the given string.}}
{{param|string|compressedString|A string containing data previously compressed with [[love.data.compress]].}}
=== Returns ===
{{param|value|decompressedData|[[Data]]/[[string]] containing the raw decompressed data.}}
== Function ==
=== Synopsis ===
<source lang="lua">
decompressedData = love.data.decompress( container, format, data )
</source>
=== Arguments ===
{{param|ContainerType|container|What type to return the decompressed data as.}}
{{param|CompressedDataFormat|format|The format that was used to compress the given data.}}
{{param|Data|data|A Data object containing data previously compressed with [[love.data.compress]].}}
=== Returns ===
{{param|value|decompressedData|[[Data]]/[[string]] containing the raw decompressed data.}}
== See Also ==
* [[parent::love.data]]
* [[love.data.compress]]
[[Category:Functions]]
{{#set:Description=Decompresses a [[CompressedData]] or previously compressed string or [[Data]] object.}}
== Other Languages ==
{{i18n|love.data.decompress}}