Lines Matching refs:Uint8Array
151 var byteArray = new Uint8Array(result);
248 var arr = new Uint8Array(1)
379 that = Buffer._augment(new Uint8Array(array))
382 that = fromTypedArray(that, new Uint8Array(array))
417 that = Buffer._augment(new Uint8Array(length))
656 if (Buffer.TYPED_ARRAY_SUPPORT && Uint8Array.prototype.indexOf === 'function') {
657 return Uint8Array.prototype.indexOf.call(this, val, byteOffset)
1507 if (typeof Uint8Array !== 'undefined') {
1511 var buf = new Uint8Array(this.length)
1745 var Arr = (typeof Uint8Array !== 'undefined')
1746 ? Uint8Array
3095 Uint8Array = isNative(Uint8Array = context.Uint8Array) && Uint8Array,
5120 bufferClone = !(ArrayBuffer && Uint8Array) ? constant(null) : function(buffer) {
5131 view = new Uint8Array(result, offset);
5132 view.set(new Uint8Array(buffer, offset));
10147 if (isFunction(/x/) || (Uint8Array && !isFunction(Uint8Array))) {
23032 var TYPED_OK = (typeof Uint8Array !== 'undefined') &&
23089 result = new Uint8Array(len);
23118 exports.Buf8 = Uint8Array;
29118 } else if (src instanceof Uint8Array) {
29121 this.font = TTFFont.fromBuffer(new Buffer(new Uint8Array(src)), family);