Difference between revisions of "love.filesystem.newFileData"
(Created page with '{{newin|0.7.0|type=function}} Creates a new FileData object. == Function == === Synopsis === <source lang="lua"> data = love.filesystem.newFileData( contents, name, deco…') |
m (included link to other languages) |
||
Line 17: | Line 17: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Creates a new [[FileData]] object.}} | {{#set:Description=Creates a new [[FileData]] object.}} | ||
+ | == Other Languages == | ||
+ | {{i18n|love.filesystem.newFileData}} |
Revision as of 07:37, 4 January 2011
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.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info