1 2 3 4 5 6 7 8 9
pub use self::chunk::PngChunk; pub use self::image::Png; mod chunk; mod image; pub(crate) fn is_png(buf: &[u8]) -> bool { buf.starts_with(image::SIGNATURE) }