const size = canvas.width * canvas.height * 4;. // allocate memory in Go. const ptr = window.wasm.go.malloc(size);. const imageData = context.
確定! 回上一頁