Struct android_sparse::file::File[][src]

pub struct File { /* fields omitted */ }

A sparse file.

Provides methods to add chunks and iterate over its chunks.

Methods

impl File
[src]

Creates a new empty sparse file.

Returns the number of blocks in the sparse file.

Returns the number of chunks in the sparse file.

Adds a chunk to the sparse file.

Iterates over the chunks in the sparse file.

Trait Implementations

impl Debug for File
[src]

Formats the value using the given formatter. Read more

impl Default for File
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl !Send for File

impl !Sync for File