ic_cdk::api::stable

Function stable_write

Source
pub fn stable_write(offset: u64, buf: &[u8])
Expand description

Writes data to the stable memory location specified by an offset.

Warning - this will panic if offset + buf.len() exceeds the current size of stable memory. Use stable_grow to request more stable memory if needed.