wasmtime-java icon indicating copy to clipboard operation
wasmtime-java copied to clipboard

Memory.buffer method

Open fatihpense opened this issue 1 year ago • 0 comments

Sorry if this is a wrong place to ask, I couldn't find discussions or any other channel.

I get "out of bounds" and "buffer underflow" errors in some cases

When I sprinkle: buf = mem.buffer(store); before reading or writing to the shared memory, these errors go away. What is the explanation for this? Or is there a documentation for further reading?

Thanks for the library!

fatihpense avatar Dec 29 '23 05:12 fatihpense