Difference between revisions of "FileData"
(Created page with '{{newin|0.7.0|type=class}} Data representing the contents of a file. == Functions == {{#ask: Category:Functions parent::FileData OR parent::Data | headers=hi…') |
(forgot the semantic stuff) |
||
Line 6: | Line 6: | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
+ | }} | ||
+ | == See Also == | ||
+ | * [[parent::love.filesystem]] | ||
+ | * [[File]] | ||
+ | [[Category:Types]] | ||
+ | {{#set:Description=[[Data]] representing the contents of a file. | ||
}} | }} |
Revision as of 08:44, 16 October 2010
Available since LÖVE 0.7.0 |
This class is not supported in earlier versions. |
Data representing the contents of a file.
Functions
ByteData | Data object containing arbitrary bytes in an contiguous memory. |
CompressedData | Byte data compressed using a specific algorithm. |
CompressedImageData | Compressed image data designed to stay compressed in RAM and on the GPU. |
Data:clone | Creates a new copy of the Data object. |
Data:getFFIPointer | Gets an FFI pointer to the Data. |
Data:getPointer | Gets a pointer to the Data. |
Data:getSize | Gets the Data's size in bytes. |
Data:getString | Gets the full Data as a string. |
FileData | Data representing the contents of a file. |
FileData:getExtension | Gets the extension of the FileData. |
FileData:getFilename | Gets the filename of the FileData. |
FontData | A FontData represents a font. |
GlyphData | A GlyphData represents a drawable symbol of a font. |
ImageData | Raw (decoded) image data. |
SoundData | Contains raw audio samples. |