Enum android_sparse::block::Block[][src]

pub enum Block {
    Raw(Box<[u8; 4096]>),
    Fill([u8; 4]),
    Skip,
    Crc32(u32),
}

A sparse block and its associated data.

Variants

A raw block holding a byte buffer of length Block::SIZE.

A fill block holding a 4-byte fill value.

A block that signifies a part of the image that can be skipped.

A CRC32 block holding a checksum value.

Methods

impl Block
[src]

SIZE: u32 = 4096

The size of a sparse file block.

Trait Implementations

impl Clone for Block
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Block
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Block
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Block

impl Sync for Block