Difference between revisions of "CompressedData (Français)"

(Voir aussi)
Line 49: Line 49:
 
== Voir aussi ==
 
== Voir aussi ==
 
* [[parent::love.math (Français)]]
 
* [[parent::love.math (Français)]]
* [[love.math.decompress]]
+
* [[love.math.decompress (Français)]]
[[Category:Types]]
+
[[Category:Types (Français)]]
 
{{#set:Description=Représente les données d'octets, compressées selon un algorithme spécifique.
 
{{#set:Description=Représente les données d'octets, compressées selon un algorithme spécifique.
 
.}}
 
.}}

Revision as of 19:00, 27 December 2020

Disponible depuis LÖVE 0.10.0
Dans les versions antérieures à 0.10.0 le nom CompressedData était utilisé pour le type d'objets à présent nommé CompressedImageData.

Représente les données d'octets, compressées selon un algorithme spécifique.

love.data.decompress peut être utilisé pour décompresser les données (ou love.math.decompress dans les versions 0.10.2 et antérieures).

Constructeurs

love.data.compress Compresses a string or data using a specific compression algorithm. Added since 11.0
love.math.compress Compresses a string or data using a specific compression algorithm. Added since 0.10.0 Deprecated in 11.0

Fonctions

CompressedData:getFormat Gets the compression format of the CompressedData. Added since 0.10.0
Data:clone Creates a new copy of the Data object. Added since 11.0
Data:getFFIPointer Gets an FFI pointer to the Data. Added since 11.3
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. Added since 0.9.0
Object:release Immediately destroys the object's Lua reference. Added since 11.0
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Enums

CompressedDataFormat Compressed data formats. Added since 0.10.0

Supertypes

Voir aussi


Autres langues