FileData

Available since LÖVE 0.7.0
This object is not supported in earlier versions.

Data representing the contents of a file.

Constructors

love.filesystem.newFileDataCreates a new FileData object.Added since 0.7.0

Functions

Data:getPointerGets a pointer to the Data.
Data:getSizeGets the size in bytes of the Data.
Data:getStringGets the full Data as a string.Added since 0.9.0
FileData:getExtensionGets the extension of the FileData.Added since 0.7.0
FileData:getFilenameGets the filename of the FileData.Added since 0.7.0
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.

Supertypes

See Also


Other Languages

Personal tools