python-rsrcfork/rsrcfork
dgelessus c108af60ca Add length and length_raw attributes to Resource (closes #3)
For compressed resources, the value of the length attribute can be
accessed much more quickly than the data itself (because it only
requires parsing the header, rather than decompressing the entire
data). This is used to speed up listing of compressed resources on the
command line.

The length_raw attribute is added for symmetry, although it is not
specifically optimized in any case yet.
2019-09-24 00:13:23 +02:00
..
compress Fix hex number formatting in compressed header info reprs 2019-09-23 23:52:06 +02:00
__init__.py
__main__.py Add length and length_raw attributes to Resource (closes #3) 2019-09-24 00:13:23 +02:00
api.py Add length and length_raw attributes to Resource (closes #3) 2019-09-24 00:13:23 +02:00