futureReadToMemory method
WASIComponentAsyncCopyResult
futureReadToMemory(
- Object? readable,
- Memory memory,
- int pointer, [
- WASIComponentCanonicalRealloc? realloc,
Executes future.read and writes a value to memory.
Implementation
WASIComponentAsyncCopyResult futureReadToMemory(
Object? readable,
wasm.Memory memory,
int pointer, [
WASIComponentCanonicalRealloc? realloc,
]) {
_requireKind(WasmComponentCanonicalKind.futureRead);
return _requireValueType().futureReadToMemory(
readable,
memory,
pointer,
stringEncoding,
realloc,
);
}