Split into a library and many modules

Wow, what a mess. Why was I making one giant file to contain everything?
I'm splitting it out into several files and taking another crack at
completing the decoder.
This commit is contained in:
2024-06-14 16:40:28 -05:00
parent 3a35dc3a20
commit 0a43a8b9f7
6 changed files with 651 additions and 630 deletions

8
src/error.rs Normal file
View File

@@ -0,0 +1,8 @@
#[derive(Debug)]
pub enum DecodeError {
Magic,
Channels,
ColorSpace,
EarlyIteratorExhaustion,
}