Lines Matching refs:ArrayBuffer
1109 var buffer = new ArrayBuffer(TOTAL_MEMORY);
3948 if (typeof Uint8Array != 'undefined') xhr.responseType = 'arraybuffer';
4295 ws.binaryType = 'arraybuffer';
4348 assert(typeof data !== 'string' && data.byteLength !== undefined); // must receive an ArrayBuffer
4376 handleMessage((new Uint8Array(data)).buffer); // copy from node Buffer -> ArrayBuffer
4597 if (buffer instanceof Array || buffer instanceof ArrayBuffer) {
4653 // queued.data will be an ArrayBuffer if it's unadulterated, but if it's
5278 // Safari's Blob can only take an ArrayBuffer
5649 xhr.responseType = 'arraybuffer';
5660 Browser.xhrLoad(url, function(arrayBuffer) {
5661 assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
5662 onload(new Uint8Array(arrayBuffer));