Lines Matching refs:ArrayBuffer
1096 var buffer = new ArrayBuffer(TOTAL_MEMORY);
3562 if (typeof Uint8Array != 'undefined') xhr.responseType = 'arraybuffer';
3944 // Safari's Blob can only take an ArrayBuffer
4315 xhr.responseType = 'arraybuffer';
4326 Browser.xhrLoad(url, function(arrayBuffer) {
4327 assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
4328 onload(new Uint8Array(arrayBuffer));
4554 ws.binaryType = 'arraybuffer';
4607 assert(typeof data !== 'string' && data.byteLength !== undefined); // must receive an ArrayBuffer
4635 handleMessage((new Uint8Array(data)).buffer); // copy from node Buffer -> ArrayBuffer
4856 if (buffer instanceof Array || buffer instanceof ArrayBuffer) {
4912 // queued.data will be an ArrayBuffer if it's unadulterated, but if it's