ContainerType

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

O.png This is unofficial documentation. This might be not accurate!  


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