Skip to contents

Read UTF-8 string from WASM memory.

Usage

wasmer_memory_read_string_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

String

Details

Read UTF-8 string from WASM memory

Examples

if (FALSE) { # \dontrun{
wasmer_memory_read_string_ext(ptr, "inst1", "memory", 0, 10)
} # }