wasmerio/wasmer-go

Writing memory

JanGordon opened this issue · 0 comments

Summary

In older versions it seems that you could use instance.Memory to modify the memory but this is no longer present. I can read memory with instance.Exports.GetMemory("mem") but this doesn't help with writing to it. (This is so I can pass a string to a wasm function so please tell me if there is a better way to do this).