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

(Created page with "{{newin (Français)|0.10.0|100|type=type|text=Dans les versions antérieures à 0.10.0 le nom CompressedData était utilisé pour le type d'objets à présent nommé [...")
 
(Voir aussi)
Line 48: Line 48:
  
 
== Voir aussi ==
 
== Voir aussi ==
* [[parent::love.math]]
+
* [[parent::love.math (Français)]]
 
* [[love.math.decompress]]
 
* [[love.math.decompress]]
 
[[Category:Types]]
 
[[Category:Types]]
 
{{#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.
 
.}}
 
.}}
 +
 
== Autres langues ==
 
== Autres langues ==
 
{{i18n|CompressedData}}
 
{{i18n|CompressedData}}

Revision as of 13:45, 13 November 2019

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