Lines Matching refs:ArrayBuffer
1096 var buffer = new ArrayBuffer(TOTAL_MEMORY);
3671 if (typeof Uint8Array != 'undefined') xhr.responseType = 'arraybuffer';
4018 ws.binaryType = 'arraybuffer';
4071 assert(typeof data !== 'string' && data.byteLength !== undefined); // must receive an ArrayBuffer
4099 handleMessage((new Uint8Array(data)).buffer); // copy from node Buffer -> ArrayBuffer
4320 if (buffer instanceof Array || buffer instanceof ArrayBuffer) {
4376 // queued.data will be an ArrayBuffer if it's unadulterated, but if it's
5120 // Safari's Blob can only take an ArrayBuffer
5491 xhr.responseType = 'arraybuffer';
5502 Browser.xhrLoad(url, function(arrayBuffer) {
5503 assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
5504 onload(new Uint8Array(arrayBuffer));