pub fn stable_bytes() -> Vec<u8> {
    let size = (stable_size() as usize) << 16;
    let mut vec = Vec::with_capacity(size);
    unsafe {
        vec.set_len(size);
    }

    stable_read(0, vec.as_mut_slice());

    vec
}
/// Returns a copy of the stable memory.
///
/// This will map the whole memory (even if not all of it has been written to).
Returns a copy of the stable memory.
This will map the whole memory (even if not all of it has been written to).
Returns a copy of the stable memory . This will map the whole memory ( even if not all of it has been written to ) .
pub fn stable_bytes() -> Vec<u8> {
    let size = (stable_size() as usize) << 16;
    let mut vec = Vec::with_capacity(size);
    unsafe {
        vec.set_len(size);
    }
    stable_read(0, vec.as_mut_slice());
    vec
}
pub fn stable_bytes ( ) -> Vec < u8 > { let size = ( stable_size ( ) as usize ) << 16 ; let mut vec = Vec :: with_capacity ( size ) ; unsafe { vec . set_len ( size ) ; } stable_read ( 0 , vec . as_mut_slice ( ) ) ; vec }
Returns a copy of the stable memory.
Returns a copy of the stable memory .