Crate android_sparse[][src]

Expand description

An implementation of Android’s sparse file format.

Enables reading and writing sparse images, as well as encoding from and decoding to raw images:

 --------               --------                -------
| sparse | --Reader--> | sparse | --Decoder--> | raw   |
| image  | <--Writer-- | blocks | <--Encoder-- | image |
 --------               --------                -------


pub use self::block::Block;
pub use self::read::Encoder;
pub use self::read::Reader;
pub use self::result::Result;
pub use self::write::Decoder;
pub use self::write::Writer;


A data structure for representing sparse blocks.

Sparse image reading and encoding from raw images.

Error handling with the Result type.

Sparse image writing and decoding to raw images.