Difference between revisions of "Data"
(Subtypes added.) |
|||
Line 7: | Line 7: | ||
== Supertypes == | == Supertypes == | ||
* [[parent::Object]] | * [[parent::Object]] | ||
+ | == Subtypes == | ||
+ | {{#ask: [[Category:Types]] [[parent::Data]] [[Concept:Current]] | ||
+ | | headers=hide | ||
+ | | ?Description | ||
+ | }} | ||
== See Also == | == See Also == | ||
* [[parent::love]] | * [[parent::love]] |
Revision as of 03:53, 14 November 2012
The superclass of all data.
Functions
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. |
Object:release | Immediately destroys the object's Lua reference. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
Supertypes
Subtypes
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. |
FileData | Data representing the contents of a file. |
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. |
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