Module ic_cdk::api::stable [−][src]
Structs
A reader to the stable memory. Keeps an offset and reads off stable memory consecutively.
A writer to the stable memory. Will attempt to grow the memory as it writes, and keep offsets and total capacity.
Functions
Similar to stable_grow
but with support for 64-bit addressed memory.
Returns a copy of the stable memory. This will map the whole memory (even if not all of it has been written to).
Attempt to grow the stable memory by new_pages
(added pages).
Returns an error if it wasn’t possible. Otherwise, returns the previous
size that was reserved.