Skip to main content

attribute_runlist

Function attribute_runlist 

Source
pub fn attribute_runlist(
    record: &[u8],
    attribute: &Attribute,
) -> Result<Vec<Run>>
Expand description

Decode the data-run list of a non-resident attribute from its (fixed-up) record bytes.

Reused to assemble a split $DATA whose runlist spans several $DATA attributes in different MFT records (via $ATTRIBUTE_LIST).

§Errors

NtfsError::BadAttribute for a resident attribute or an out-of-bounds runlist; NtfsError::BadRunlist for a malformed runlist.