Skip to main content

write_to_cds

Function write_to_cds 

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

Writes a block of data to the CDS at a specified offset.

ยงSafety

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