python-rsrcfork/rsrcfork/compress
dgelessus 1e79dc3c50 Refactor .dcmp0 and .dcmp1 to be stream-based
The decompression code is more readable this way, because the
compressed data needs to be processed sequentially. It also allows
moving the length check and some debug logging into an outer generator.

This also allows incremental decompression, but this doesn't have any
practical advantage, because the compressed resource data is all read
at once (there is no API for opening resources as streams), and
resources are not very large anyway.
2019-10-01 21:26:41 +02:00
..
__init__.py Add Resource.compressed_info attribute 2019-09-23 23:50:29 +02:00
common.py Refactor .dcmp0 and .dcmp1 to be stream-based 2019-10-01 21:26:41 +02:00
dcmp0.py Refactor .dcmp0 and .dcmp1 to be stream-based 2019-10-01 21:26:41 +02:00
dcmp1.py Refactor .dcmp0 and .dcmp1 to be stream-based 2019-10-01 21:26:41 +02:00
dcmp2.py Fix misplaced parens in dcmp modules 2019-09-29 15:33:14 +02:00