Crates.io | android-sparse-image |
lib.rs | android-sparse-image |
version | 0.1.1 |
source | src |
created_at | 2024-11-24 20:11:14.64575 |
updated_at | 2024-11-28 20:35:12.105084 |
description | Low-level Android sparse image parsing headers |
homepage | |
repository | https://github.com/boardswarm/fastboot-rs |
max_upload_size | |
id | 1459548 |
size | 40,124 |
An android space image is a sparse representation of a potential output file. The format consist of a [FileHeader] followed by a number of [ChunkHeader]s and their associated data
Sparse image |
---|
File header |
Chunk 0 header |
Chunk 0 data |
Chunk 1 header |
Chunk 1 data |
.... |
Chunk N header |
Chunk N data |
The size of data in a chunk depends on the [ChunkType] and can be determined with [ChunkHeader::data_size]