Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing memory #372

Open
JanGordon opened this issue Jan 29, 2023 · 0 comments
Open

Writing memory #372

JanGordon opened this issue Jan 29, 2023 · 0 comments
Labels
❓ question Further information is requested

Comments

@JanGordon
Copy link

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).

@JanGordon JanGordon added the ❓ question Further information is requested label Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant