Skip to main content

エイリアス

  • crypt.lz4decompress
  • crypt.lz4.decompress
  • lz4.decompress

引数

string
必須
LZ4 block decompression に渡される raw compressed bytes。
number
dstCapacity として渡される output buffer size。lz4compress の出力では、元の非圧縮 byte 長を渡します。省略すると、圧縮入力の長さが使われます。

戻り値

string
Lua 文字列として返される raw decompressed bytes。出力は originalSize より短い場合があります。

例

元の非圧縮サイズを渡して LZ4 bytes を展開します。