0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. python-lz4
  2. /
  3. lz4
  4. /
  5. block
JjonathanunderwoodVariable misspell fix
c0b3bb5c创建于 2025年5月29日历史提交
文件最后提交记录最后更新时间
__init__.py
Define new LZ4BlockError exception and relax error checking This commit changes the handling of errors for block decompression when uncompressed_size > 0. In this case, we no longer check that the uncompressedd data has exactly the size specified by uncompressed_size: this argument is now used as an upper bound. In addition, we introduce a new exception: LZ4BlockError which is raised whenever the LZ4 library fails. These two changes together allow "guessing" of the uncompressed data size: simply set uncompressed_size to a number and try decompress, and catch LZ4BlockError. If LZ4BlockError is raised, increase uncompressed_size and try again. 7 年前
_block.c
Variable misspell fix 11 个月前