Creates a new FileData object.
data = love.filesystem.newFileData( contents, name, decoder )
string contentsstring nameFileDecoder decoder ("file")FileData data Available since LÖVE 0.9.0
This variant is not supported in earlier versions.
Creates a new FileData from a file on the storage device.
data, err = love.filesystem.newFileData( filepath )
string filepathFileData datastring err
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.filesystem.newFileData