pub fn get_allocated_size() -> u64Expand description
Returns the amount of allocated stable memory in bytes.
Always equal to get_available_size() - get_free_size().
Internally calls StableMemoryAllocator::get_allocated_size.
ยงPanics
Panics if there is no initialized stable memory allocator.