aboutsummaryrefslogtreecommitdiffstats
path: root/main/java-common
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2018-08-08 19:19:20 +0000
committerAndy Postnikov <apostnikov@gmail.com>2018-08-10 12:14:16 +0300
commit309999be119ba2dd171a38e98ca8b6fa3c02b2d6 (patch)
tree9857433239d3b5d628eafb02f241e2255d2b7da0 /main/java-common
parent82c3d23886f12997499ea4a1326dc30f1c6258be (diff)
downloadaports-309999be119ba2dd171a38e98ca8b6fa3c02b2d6.tar.bz2
aports-309999be119ba2dd171a38e98ca8b6fa3c02b2d6.tar.xz
community/py-lz4: upgrade to 2.1.0
This release changes the handling of errors for block decompression when uncompressed_size > 0. In this case, we no longer check that the uncompressed 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. See the documentation for more details and examples: http://python-lz4.readthedocs.io/en/stable/lz4.block.html
Diffstat (limited to 'main/java-common')
0 files changed, 0 insertions, 0 deletions