Skip to main content

next_page

Function next_page 

Source
pub fn next_page(
    cursor: &mut ScanCursor,
    out: &mut [u8],
) -> Result<usize, QdnfError>
Expand description

Copy the next page into out using the synthetic XOR fill.

This path is not storage evidence. Production scans must use next_page_from with a ScanSource. synthetic_scan_is_storage_evidence is always false. Kept for budget/cursor tests.

Empty out with remaining logical bytes is QdnfError::Capacity and does not advance offset. Exhausted remaining caps are QdnfError::BudgetExhausted and do not reset on retry.