Lines Matching refs:ArrayBuffer
1099 var buffer = new ArrayBuffer(TOTAL_MEMORY);
3565 if (typeof Uint8Array != 'undefined') xhr.responseType = 'arraybuffer';
3947 // Safari's Blob can only take an ArrayBuffer
4318 xhr.responseType = 'arraybuffer';
4329 Browser.xhrLoad(url, function(arrayBuffer) {
4330 assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
4331 onload(new Uint8Array(arrayBuffer));
4557 ws.binaryType = 'arraybuffer';
4610 assert(typeof data !== 'string' && data.byteLength !== undefined); // must receive an ArrayBuffer
4638 handleMessage((new Uint8Array(data)).buffer); // copy from node Buffer -> ArrayBuffer
4859 if (buffer instanceof Array || buffer instanceof ArrayBuffer) {
4915 // queued.data will be an ArrayBuffer if it's unadulterated, but if it's