Difference between revisions of "love.filesystem.newFileData"
(No difference)
|
Revision as of 08:45, 16 October 2010
Available since LÖVE 0.7.0 |
This function is not supported in earlier versions. |
Creates a new FileData object.
Function
Synopsis
data = love.filesystem.newFileData( contents, name, decoder )
Arguments
string contents
- The contents of the file.
string name
- The name of the file.
FileDecoder decoder
- The method to use when decoding the contents.
Returns
FileData data
- Your new FileData.