This pull request would neaten up the API, making it suitable for my macresources package. One architectural change: algorithm functions are responsible for creating and parsing their own algo-specific headers (not including the 12-byte header). There is also one tiny bugfix for odd-length resources. And some tests.
This pull request would neaten up the API, making it suitable for my macresources package. One architectural change: algorithm functions are responsible for creating and parsing their own algo-specific headers (not including the 12-byte header). There is also one tiny bugfix for odd-length resources. And some tests.