Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for copyBytesToJS (0.09 sec)

  1. lib/wasm/wasm_exec.js

    						const toCopy = src.subarray(0, dst.length);
    						dst.set(toCopy);
    						setInt64(sp + 40, toCopy.length);
    						this.mem.setUint8(sp + 48, 1);
    					},
    
    					// func copyBytesToJS(dst ref, src []byte) (int, bool)
    					"syscall/js.copyBytesToJS": (sp) => {
    						sp >>>= 0;
    						const dst = loadValue(sp + 8);
    						const src = loadSlice(sp + 16);
    						if (!(dst instanceof Uint8Array || dst instanceof Uint8ClampedArray)) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top