1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
//! An implementation of Android's sparse file format. //! //! Enables reading and writing sparse images, as well as encoding from and //! decoding to raw images: //! //! ```text //! -------- -------- ------- //! | sparse | --Reader--> | sparse | --Decoder--> | raw | //! | image | <--Writer-- | blocks | <--Encoder-- | image | //! -------- -------- ------- //! ``` #![deny(missing_docs)] extern crate byteorder; extern crate crc; #[cfg(test)] extern crate tempfile; pub mod block; pub mod read; pub mod result; pub mod write; mod ext; mod headers; pub use block::Block; pub use read::{Encoder, Reader}; pub use result::Result; pub use write::{Decoder, Writer};