Skip to main content

read_from_cds

Function read_from_cds 

Source
pub unsafe fn read_from_cds(buf: &mut [u8], offset: usize) -> Result<()>
Expand description

Reads a block of data from the CDS at a specified offset.

ยงSafety

This is a raw memory read. The caller must ensure that offset + buf.len() does not exceed the total size of the CDS.