Commit Graph

8 Commits

Author SHA1 Message Date
Elliot Nunn
c752c70c6a Add simple tests (run ./pytest). 2018-12-13 12:51:56 +08:00
Elliot Nunn
ddfb909212 Replace testbed with a friendly API.
The GetEncoding function will allow macresources to cheaply and simply
determine resource encoding without committing to a time-consuming
extraction.
2018-12-13 12:51:56 +08:00
Elliot Nunn
eacebc8320 Let functions create/parse their own res header. 2018-12-13 12:51:56 +08:00
Elliot Nunn
7f14013fa3 Bugfix: use 'append' method for extra byte. 2018-12-13 12:51:53 +08:00
Maxim Poliakovski
2f94e88cec Rename GreggDecompress.py to GreggBits.py.
That's because both compression and decompression are supported for now.
2018-12-11 17:15:24 +01:00
Maxim Poliakovski
6c81808433 Implement a compressor for GreggBits scheme. 2018-12-11 17:12:06 +01:00
Maxim Poliakovski
0d8c1f3013 Fix table formatting of the previous commit. 2018-12-04 14:54:56 +01:00
Maxim Poliakovski
7e27775825 Initial commit. 2018-12-04 14:44:09 +01:00