On this page
love.data.decode
Available since LÖVE 11.0
This function is not supported in earlier versions.
Decode Data or a string from any of the EncodeFormats to Data or string.
Function
Synopsis
decoded = love.data.decode( container, format, sourceString )
Arguments
-
ContainerType container
- What type to return the decoded data as.
-
EncodeFormat format
- The format of the input data.
-
string sourceString
- The raw (encoded) data to decode.
Returns
Function
Synopsis
decoded = love.data.decode( container, format, sourceData )
Arguments
-
ContainerType container
- What type to return the decoded data as.
-
EncodeFormat format
- The format of the input data.
-
Data sourceData
- The raw (encoded) data to decode.
Returns
See Also
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.data.decode