7 Commits

Author SHA1 Message Date
e28b88aedf Slowly work towards more pure functions 2023-05-31 22:20:40 +02:00
f937499e6f Remove unnecessary wrapping of functionality in a class 2023-05-31 20:49:44 +02:00
bd68eb6940 Switch to prettier default config of using double quotes 2023-05-30 10:42:26 +02:00
8375261eb1 Fix problems highlighted by eslint 2023-05-27 15:31:55 +02:00
940523f72f Parse CRNG chunk bit flags
See https://en.wikipedia.org/wiki/ILBM#CRNG:_Colour_range
2023-05-14 22:38:12 +02:00
9dcbdd0327 Compatibility improvements and minor fixes
* Account for padding byte when chunk length is not a multiple of 2
* Use chunkLength to parse TINY and BODY chunk data
* Rename chunkID, lenChunk and formatID
* Deduplicate decompression code
2023-05-13 22:02:33 +02:00
Michael Smith
d9ce760d19 Initial commit 2023-05-12 10:50:34 +02:00