Android-cuttlefish cvd tool
|
#include <sparse_image.h>
Classes | |
struct | Impl |
Public Member Functions | |
AndroidSparseImage (AndroidSparseImage &&) | |
~AndroidSparseImage () override | |
AndroidSparseImage & | operator= (AndroidSparseImage &&) |
Result< uint64_t > | VirtualSizeBytes () const override |
![]() | |
virtual | ~DiskImage ()=default |
DiskImage & | operator= (DiskImage &&)=delete |
virtual Result< uint64_t > | VirtualSizeBytes () const =0 |
Static Public Member Functions | |
static Result< AndroidSparseImage > | OpenExisting (const std::string &path) |
static std::string | MagicString () |
Private Member Functions | |
AndroidSparseImage (std::unique_ptr< Impl >) | |
Private Attributes | |
std::unique_ptr< Impl > | impl_ |
Image file format comprised of a list of chunks of "raw data" and "fill
data" that is a repeated byte string.
cuttlefish::AndroidSparseImage::AndroidSparseImage | ( | AndroidSparseImage && | other | ) |
|
overridedefault |
|
private |
|
static |
"Sparse header magic", used to identify the file type.
Valid android-sparse files start with this prefix.
|
static |
AndroidSparseImage & cuttlefish::AndroidSparseImage::operator= | ( | AndroidSparseImage && | other | ) |
|
overridevirtual |
Implements cuttlefish::DiskImage.
|
private |