Crate android_sparse

Crate android_sparse 

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

Re-exports§

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;

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.