Expand description

APIs to manage stable memory.

You can check the Internet Computer Specification for a in-depth explanation of stable memory.

Structs

A reader to the stable memory.

A writer to the stable memory.

Enums

A possible error value when dealing with stable memory.

Functions

Similar to stable_grow but with support for 64-bit addressed memory.

Similar to stable_read but with support for 64-bit addressed memory.

Similar to stable_size but with support for 64-bit addressed memory.

Similar to stable_write but with support for 64-bit addressed memory.

Returns a copy of the stable memory.

Attempts to grow the stable memory by new_pages (added pages).

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

Gets current size of the stable memory.

Writes data to the stable memory location specified by an offset.