Read bytes from WASM memory.
Usage
wasmer_memory_read_ext(ptr, instance_name, memory_name, offset, length)
Arguments
- ptr
External pointer to WasmerRuntime.
- instance_name
Name of the instance.
- memory_name
Name of the exported memory.
- offset
Offset to start reading.
- length
Number of bytes to read.
Value
Raw vector of bytes
Details
Read bytes from WASM memory
Examples
if (FALSE) { # \dontrun{
wasmer_memory_read_ext(ptr, "inst1", "memory", 0, 10)
} # }