Difference between revisions of "ContainerType"

m
m (Ok so ByteData is actually a thing)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=enum}}
+
{{newin|[[11.0]]|110|type=enum}}
 
Return type of various data-returning functions.
 
Return type of various data-returning functions.
 
== Constants ==
 
== Constants ==
;data: Return type is [[Data]].
+
;data: Return type is [[ByteData]].
 
;string: Return type is [[string]].
 
;string: Return type is [[string]].
 
== Notes ==
 
== Notes ==

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.

Constants

data
Return type is ByteData.
string
Return type is string.

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

Other Languages