love.filesystem.read

love.filesystem.read

Read the contents of a file

Function

Synopsis

contents, size = love.filesystem.read( name, size )

Arguments

string name
The name (and path) of the file
number size (all)
How many bytes to read

Returns

string contents
The file contents
number size
How many bytes have been read

See Also


doc_love
2017-03-21 15:46:26
Comments
Leave a Comment

Please login to continue.