[][src]Module wasmer_runtime_c_api::memory

Create, read, write, grow, destroy memory of an instance.

Structs

wasmer_memory_t

Opaque pointer to a wasmer_runtime::Memory value in Rust.

Functions

wasmer_memory_data

Gets a pointer to the beginning of the contiguous memory data bytes.

wasmer_memory_data_length

Gets the size in bytes of the memory data.

wasmer_memory_destroy

Frees memory for the given wasmer_memory_t.

wasmer_memory_grow

Grows a memory by the given number of pages (of 65Kb each).

wasmer_memory_length

Reads the current length (in pages) of the given memory.

wasmer_memory_new

Creates a new empty WebAssembly memory for the given descriptor.