Difference between revisions of "love.math.decompress"
(Created page) |
m (This is not a CompressedData constructor.) |
||
Line 33: | Line 33: | ||
* [[parent::love.math]] | * [[parent::love.math]] | ||
* [[love.math.compress]] | * [[love.math.compress]] | ||
− | |||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Decompresses a [[CompressedData]] or previously compressed string or [[Data]] object.}} | {{#set:Description=Decompresses a [[CompressedData]] or previously compressed string or [[Data]] object.}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.math.decompress}} | {{i18n|love.math.decompress}} |
Revision as of 04:52, 3 October 2015
Available since LÖVE 0.10.0 |
This function is not supported in earlier versions. |
Decompresses a CompressedData or previously compressed string or Data object.
Contents
Function
Synopsis
rawstring = love.math.decompress( compressedData )
Arguments
CompressedData compressedData
- The compressed data to decompress.
Returns
string rawstring
- A string containing the raw decompressed data.
Function
Synopsis
compressedData = love.math.decompress( compressedstring, format )
Arguments
string compressedstring
- A string containing data previously compressed with love.math.compress.
CompressedDataFormat format ("lz4")
- The format that was used to compress the given string.
Returns
string rawstring
- A string containing the raw decompressed data.
Function
Synopsis
compressedData = love.math.decompress( data, format )
Arguments
Data data
- A Data object containing data previously compressed with love.math.compress.
CompressedDataFormat format ("lz4")
- The format that was used to compress the given data.
Returns
string rawstring
- A string containing the raw decompressed data.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info