Available since LÖVE 11.0
This function is not supported in earlier versions.
Encode Data or a string to a Data or string in one of the EncodeFormats.
encoded = love.data.encode( container, format, sourceString, linelength )
ContainerType containerEncodeFormat formatstring sourceStringnumber linelength (0)encoded = love.data.encode( container, format, sourceData, linelength )
ContainerType containerEncodeFormat formatData sourceDatanumber linelength (0)
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.data.encode