Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for valuePrepareString (0.16 sec)

  1. lib/wasm/wasm_exec.js

    					// func valueLength(v ref) int
    					"syscall/js.valueLength": (sp) => {
    						sp >>>= 0;
    						setInt64(sp + 16, parseInt(loadValue(sp + 8).length));
    					},
    
    					// valuePrepareString(v ref) (ref, int)
    					"syscall/js.valuePrepareString": (sp) => {
    						sp >>>= 0;
    						const str = encoder.encode(String(loadValue(sp + 8)));
    						storeValue(sp + 16, str);
    						setInt64(sp + 24, str.length);
    					},
    
    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