Add try_read_u32 function to read 4 u8s to a u32

This commit is contained in:
2024-10-14 13:22:10 -05:00
parent c6e94fcb5b
commit d88a1eab51
2 changed files with 31 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
#[derive(Debug)]
#[derive(Debug, PartialEq)]
pub enum DecodeError {
Magic,
Channels,