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. Call stable_grow to request more stable memory if needed.