Expand description
A defensive, read-only walk of a PCF file’s physical structure.
Unlike pcf::Container, which flattens the table-block chain into a single
list of entries and hides per-block layout, this walk preserves the chain:
every block’s offset, header, entry array, chain link, and stored-vs-computed
table hash. It reuses the crate’s public byte parsers (*::from_bytes) so it
never re-implements the format, but it tolerates corruption that
Container::open would reject.
Structs§
- Block
View - One table block as physically found in the chain.
- Entry
View - One partition entry as physically found in a block.
- Walk
- The result of walking a file.
Functions§
- algo_
name - Look up a hash algorithm’s display name without exposing internals.
- flat_
entries - Convenience: a flat copy of every parsed entry, in chain order.
- walk
- Walk
data(the whole file loaded into memory) and build a structural model.