Difference between revisions of "ContainerType"
(ContainerType) |
m (Ok so ByteData is actually a thing) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[ | + | {{newin|[[11.0]]|110|type=enum}} |
− | Return type of | + | Return type of various data-returning functions. |
== Constants == | == Constants == | ||
− | ;data: Return type is | + | ;data: Return type is [[ByteData]]. |
;string: Return type is [[string]]. | ;string: Return type is [[string]]. | ||
== Notes == | == Notes == | ||
− | Use | + | Use '''data''' return type if you want to pass a reference to the data to another thread or LÖVE function, and use '''string''' return type if you want to use it immediately, like sending it to network. |
== See Also == | == See Also == | ||
* [[parent::love.data]] | * [[parent::love.data]] | ||
* [[love.data.compress]] | * [[love.data.compress]] | ||
* [[love.data.decompress]] | * [[love.data.decompress]] | ||
− | * [[ | + | * [[love.data.encode]] |
− | * [[ | + | * [[love.data.decode]] |
+ | * [[love.data.pack]] | ||
+ | * [[love.filesystem.read]] | ||
+ | * [[(File):read|File:read]] | ||
[[Category:Enums]] | [[Category:Enums]] | ||
− | {{#set:Description=Return type of | + | {{#set:Description=Return type of data-returning functions.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|ContainerType}} | {{i18n|ContainerType}} |
Latest revision as of 12:42, 11 June 2018
Available since LÖVE 11.0 |
This enum is not supported in earlier versions. |
Return type of various data-returning functions.
Contents
Constants
Notes
Use data return type if you want to pass a reference to the data to another thread or LÖVE function, and use string return type if you want to use it immediately, like sending it to network.
See Also
- love.data
- love.data.compress
- love.data.decompress
- love.data.encode
- love.data.decode
- love.data.pack
- love.filesystem.read
- File:read
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