pub fn stable_bytes() -> Vec<u8> ⓘExpand description
Returns a copy of the stable memory.
This will map the whole memory (even if not all of it has been written to), we don’t recommend using such a method as this is an expensive read of the entire stable storage to the heap.
Only use it with caution.