Read the contents of a file.
contents, size = love.filesystem.read( name, size )
Available since LÖVE 11.0
This variant is not supported in earlier versions.
Reads the contents of a file into either a string or a FileData object.
contents, size = love.filesystem.read( container, name, size )
ContainerType containerstring namenumber size (all)value contentsnumber size
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.filesystem.read