Struct android_sparse::read::Encoder [−][src]
pub struct Encoder { /* fields omitted */ }Reads raw images and encodes them as sparse files.
Methods
impl Encoder[src]
impl Encoderpub fn new(src: StdFile) -> Self[src]
pub fn new(src: StdFile) -> SelfCreates a new sparse file encoder that reads from src.
pub fn read(self, sparse_file: &mut File) -> Result<()>[src]
pub fn read(self, sparse_file: &mut File) -> Result<()>Reads a raw image from this encoder's source and encodes it into
sparse_file.