diff --git a/src/chunk_type.rs b/src/chunk_type.rs index 84777a5..789b6c0 100644 --- a/src/chunk_type.rs +++ b/src/chunk_type.rs @@ -38,7 +38,7 @@ impl ChunkType { bytes } - fn is_valid(&self) -> bool { + pub fn is_valid(&self) -> bool { let mut x = self.bytes().len(); loop {