Crate android_sparse[][src]

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 |
 --------               --------                -------

Re-exports

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

Modules

block

A data structure for representing sparse blocks.

read

Sparse image reading and encoding from raw images.

result

Error handling with the Result type.

write

Sparse image writing and decoding to raw images.