Skip to main content

parse_index_buffer

Function parse_index_buffer 

Source
pub fn parse_index_buffer(
    buffer: &mut [u8],
    index_record_size: usize,
    sector_size: usize,
) -> Result<Vec<IndexEntry>>
Expand description

Parse one INDX index buffer: validate the signature, apply the update-sequence fixup in place, and return its entries.

§Errors

NtfsError::TooShort, NtfsError::BadIndex (bad signature), or a fixup / entry error.