Struct android_sparse::write::Decoder[][src]

pub struct Decoder { /* fields omitted */ }

Decodes sparse blocks and writes them to a raw image.

Methods

impl Decoder
[src]

Creates a new decoder that writes to file.

Writes a sparse block to this decoder.

The sparse block is decoded into its raw form and written to this decoder's destination.

Finishes writing the raw image and flushes any buffered data.

Consumes the reader as using it afterward would be invalid.

Trait Implementations

impl Drop for Decoder
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Decoder

impl Sync for Decoder