Closed mhmd-azeez closed 1 year ago
This fixes https://github.com/extism/go-sdk/issues/5#issuecomment-1666736435
From Wazero's docs about Memory.Read()
Memory.Read()
This returns a view of the underlying memory, not a copy. This means any writes to the slice returned are visible to Wasm, and any updates from Wasm are visible reading the returned slice.
This fixes https://github.com/extism/go-sdk/issues/5#issuecomment-1666736435
From Wazero's docs about
Memory.Read()