From 62025440534df25cdfb3766f8b59536cedc707e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 12 Jan 2022 14:52:30 +0800 Subject: fix #902 --- meta/3rd/love2d/library/love.data.lua | 36 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'meta/3rd/love2d/library/love.data.lua') 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"' -- cgit v1.2.3