pub fn block_read<'a>(
    block: u32,
    offset: u32,
    dest_buf: &'a mut [u8]
) -> Result<&'a mut [u8], ()>
Expand description

Read the contents of a given block, starting at a given offset.

The offset is the number of bytes from the start of the block. The offset must be 4-byte aligned. The dest_buf must be four byte aligned.

On success, the portion of data read from the block is returned.