grow method
Grows the memory by deltaPages pages, returning the previous size in
pages. Throws a WasmtimeException when the memory cannot grow.
Implementation
int grow(int deltaPages) => scoped((arena) {
final previous = arena<ffi.Uint64>();
throwIfError(
c.wasmtime_memory_grow(store.context, _native(arena), deltaPages, previous),
);
return previous.value;
});