Function stable_read

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

Reads data from the stable memory location specified by an offset.

ยงWarning

This will panic if offset + buf.len() exceeds the current size of stable memory.