Lines Matching refs:ArrayBuffer
4 /*global process:false, Buffer:false, ArrayBuffer:false, DataView:false, Deno:false */
193 if(typeof ArrayBuffer === 'undefined') return s2a(s);
194 var buf = new ArrayBuffer(s.length), view = new Uint8Array(buf);
209 function ab2a(data/*:ArrayBuffer|Uint8Array*/)/*:Array<number>*/ {
210 if(typeof ArrayBuffer == 'undefined') throw new Error("Unsupported");
211 if(data instanceof ArrayBuffer) return ab2a(new Uint8Array(data));
212 /*:: if(data instanceof ArrayBuffer) throw new Error("unreachable"); */
2360 /* until ArrayBuffer#realloc is a thing, fake a realloc */
25731 …if(typeof ArrayBuffer !== 'undefined' && data instanceof ArrayBuffer) return readSync(new Uint8Arr…
25740 …eof Uint8Array !== 'undefined' && data instanceof Uint8Array && typeof ArrayBuffer !== 'undefined'…
25742 var ab=new ArrayBuffer(3), vu=new Uint8Array(ab); vu.foo="bar";