Skip to main content

read_blocks

Function read_blocks 

Source
pub fn read_blocks(
    dev: &mut Link,
    index: u16,
    first: u8,
    count: u16,
    wait: u64,
    p: &mut dyn Progress,
) -> Result<Vec<u8>>
Expand description

Read count consecutive 64KB blocks starting at first; stops between blocks when cancelled.

ยงErrors

Fails if the card stops answering partway through.