Difference between revisions of "ContainerType"
m |
m (Missing periods.) |
||
Line 1: | Line 1: | ||
{{newin|[[0.11.0]]|110|type=enum}} | {{newin|[[0.11.0]]|110|type=enum}} | ||
− | Return type of [[love.data.decompress]] and [[love.data.compress]] | + | Return type of [[love.data.decompress]] and [[love.data.compress]]. |
{{notice|This is unofficial documentation. This might be not accurate!}} | {{notice|This is unofficial documentation. This might be not accurate!}} | ||
== Constants == | == Constants == | ||
− | ;data: Return type is [[Data]]. [[CompressedData]] for [[love.data.compress]] and [[ByteData]] for [[love.data.decompress]] | + | ;data: Return type is [[Data]]. [[CompressedData]] for [[love.data.compress]] and [[ByteData]] for [[love.data.decompress]]. |
;string: Return type is [[string]]. | ;string: Return type is [[string]]. | ||
== Notes == | == Notes == |
Revision as of 02:47, 8 January 2018
Available since LÖVE 0.11.0 |
This enum is not supported in earlier versions. |
Return type of love.data.decompress and love.data.compress.
This is unofficial documentation. This might be not accurate! |
Contents
Constants
- data
- Return type is Data. CompressedData for love.data.compress and ByteData for love.data.decompress.
- string
- Return type is string.
Notes
Use "data" return type if you want to pass the data to another thread, and use "string" return type if you want to use it immediately, like sending it to network.
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