love.data (Français)
Disponible depuis LÖVE 11.0 |
Ce-tte module n'est pas supporté-e par des versions plus anciennes. |
Fournit les fonctionnalités pour créer et transformer les données (data).
Types
ByteData | Data object containing arbitrary bytes in an contiguous memory. | 11.0 | |
CompressedData | Byte data compressed using a specific algorithm. | 0.10.0 | |
Data | The superclass of all data. |
Fonctions
love.data.compress | Compresses a string or data using a specific compression algorithm. | 11.0 | |
love.data.decode | Decode Data or a string from any of the EncodeFormats to Data or string. | 11.0 | |
love.data.decompress | Decompresses a CompressedData or previously compressed string or Data object. | 11.0 | |
love.data.encode | Encode Data or a string to a Data or string in one of the EncodeFormats. | 11.0 | |
love.data.getPackedSize | Gets the size in bytes that a given format used with love.data.pack will use. | 11.0 | |
love.data.hash | Compute message digest using specific hash algorithm. | 11.0 | |
love.data.newByteData | Creates a new Data object containing arbitrary bytes. | 11.0 | |
love.data.newDataView | Creates a new Data referencing a subsection of an existing Data object. | 11.0 | |
love.data.pack | Packs (serializes) simple Lua values. | 11.0 | |
love.data.unpack | Unpacks (deserializes) a byte-string or Data into simple Lua values. | 11.0 |
Enumérateurs
CompressedDataFormat | Compressed data formats. | 0.10.0 | |
ContainerType | Return type of data-returning functions. | 11.0 | |
EncodeFormat | Encoding format used to encode or decode data. | 11.0 | |
HashFunction | Hash algorithm of hash function. | 11.0 |
Voir également
Autres langues
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