diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-01-12 14:52:30 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-01-12 14:52:30 +0800 |
commit | 62025440534df25cdfb3766f8b59536cedc707e6 (patch) | |
tree | 45849ac97269e11a8609711e34074513e5580af4 /meta/3rd/love2d/library/love.data.lua | |
parent | 6b3a0d0bb780b4eab4dbec77f3bb4d394aa5527f (diff) | |
download | lua-language-server-62025440534df25cdfb3766f8b59536cedc707e6.zip |
fix #902
Diffstat (limited to 'meta/3rd/love2d/library/love.data.lua')
-rw-r--r-- | meta/3rd/love2d/library/love.data.lua | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/meta/3rd/love2d/library/love.data.lua b/meta/3rd/love2d/library/love.data.lua index 53a51d4b..b502d42e 100644 --- a/meta/3rd/love2d/library/love.data.lua +++ b/meta/3rd/love2d/library/love.data.lua @@ -135,75 +135,75 @@ function CompressedData:getFormat() end --- ---Compressed data formats. --- ----@class love.CompressedDataFormat +---@alias love.CompressedDataFormat --- ---The LZ4 compression format. Compresses and decompresses very quickly, but the compression ratio is not the best. LZ4-HC is used when compression level 9 is specified. Some benchmarks are available here. --- ----@field lz4 integer +---| '"lz4"' --- ---The zlib format is DEFLATE-compressed data with a small bit of header data. Compresses relatively slowly and decompresses moderately quickly, and has a decent compression ratio. --- ----@field zlib integer +---| '"zlib"' --- ---The gzip format is DEFLATE-compressed data with a slightly larger header than zlib. Since it uses DEFLATE it has the same compression characteristics as the zlib format. --- ----@field gzip integer +---| '"gzip"' --- ---Raw DEFLATE-compressed data (no header). --- ----@field deflate integer +---| '"deflate"' --- ---Return type of various data-returning functions. --- ----@class love.ContainerType +---@alias love.ContainerType --- ---Return type is ByteData. --- ----@field data integer +---| '"data"' --- ---Return type is string. --- ----@field string integer +---| '"string"' --- ---Encoding format used to encode or decode data. --- ----@class love.EncodeFormat +---@alias love.EncodeFormat --- ---Encode/decode data as base64 binary-to-text encoding. --- ----@field base64 integer +---| '"base64"' --- ---Encode/decode data as hexadecimal string. --- ----@field hex integer +---| '"hex"' --- ---Hash algorithm of love.data.hash. --- ----@class love.HashFunction +---@alias love.HashFunction --- ---MD5 hash algorithm (16 bytes). --- ----@field md5 integer +---| '"md5"' --- ---SHA1 hash algorithm (20 bytes). --- ----@field sha1 integer +---| '"sha1"' --- ---SHA2 hash algorithm with message digest size of 224 bits (28 bytes). --- ----@field sha224 integer +---| '"sha224"' --- ---SHA2 hash algorithm with message digest size of 256 bits (32 bytes). --- ----@field sha256 integer +---| '"sha256"' --- ---SHA2 hash algorithm with message digest size of 384 bits (48 bytes). --- ----@field sha384 integer +---| '"sha384"' --- ---SHA2 hash algorithm with message digest size of 512 bits (64 bytes). --- ----@field sha512 integer +---| '"sha512"' |