This adds a function to get an exported memory by name, allowing end users to check ahead of time if memory writes might fail. This also renames memory.len to size to as that's what the spec calls it. Signed-off-by: Adrian Cole <adrian@tetrate.io>
12 KiB
12 KiB