love.filesystem.read
Read the contents of a file.
contents, size, contents, error = love.filesystem.read( name, size )
name string The name (and path) of the file.
size (all) number How many bytes to read.
contents string The file contents.
size number How many bytes have been read.
contents nil returns nil as content.
error string returns an error message.
contents, size, contents, error = love.filesystem.read( container, name, size )
container ContainerType What type to return the file's contents as.
name string The name (and path) of the file
size (all) number How many bytes to read
contents FileData or string FileData or string containing the file contents.
size number How many bytes have been read.
contents nil returns nil as content.
error string returns an error message.