function Memory.grow
function Memory.read
Reads bytes from wasm linear memory.
Example
offset: - The byte offset in wasm memory to start reading fromlength: - The number of bytes to read
function Memory.read_cstring
Read a null-terminated C string from memory.
Parameters
ptr: - The byte offset in wasm memory to start reading frommax_len: - Maximum number of bytes to scan for null terminator (default: 4096)
function Memory.read_string
Read a UTF-8 string from memory with explicit length.
Parameters
ptr: - The byte offset in wasm memory to start reading fromlen: - The number of bytes to read
function Memory.write
function Memory.write_string
Write a string to memory at the given pointer.
Parameters
ptr: - The byte offset in wasm memory to write tos: - The string to write

