Struct android_sparse::write::Writer [−][src]
pub struct Writer<W> { /* fields omitted */ }Writes sparse files to sparse images.
Methods
impl<W: Write> Writer<W>[src]
impl<W: Write> Writer<W>pub fn new(dst: W) -> Self[src]
pub fn new(dst: W) -> SelfCreates a new sparse file writer that writes to dst.
pub fn with_crc(self) -> Self[src]
pub fn with_crc(self) -> SelfEnables CRC32 checksum writing.
pub fn write(self, sparse_file: &File) -> Result<()>[src]
pub fn write(self, sparse_file: &File) -> Result<()>Writes sparse_file to this writer's destination.