love.data.decode
Decode Data or a string from any of the EncodeFormats to Data or string.
decoded = love.data.decode( container, format, sourceString )
container ContainerType What type to return the decoded data as.
format EncodeFormat The format of the input data.
sourceString string The raw (encoded) data to decode.
decoded ByteData or string ByteData/string which contains the decoded version of source.
decoded = love.data.decode( container, format, sourceData )
container ContainerType What type to return the decoded data as.
format EncodeFormat The format of the input data.
sourceData Data The raw (encoded) data to decode.
decoded ByteData or string ByteData/string which contains the decoded version of source.