Lines Matching refs:Buffer

54 	/* WEBPACK VAR INJECTION */(function(Buffer) {/* jslint node: true */
89 result = Buffer.concat(chunks);
194 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
200 /* WEBPACK VAR INJECTION */(function(Buffer) {/*!
211 exports.Buffer = Buffer
214 Buffer.poolSize = 8192 // not used by this implementation
245 Buffer.TYPED_ARRAY_SUPPORT = (function () {
261 return Buffer.TYPED_ARRAY_SUPPORT
278 function Buffer (arg) {
279 if (!(this instanceof Buffer)) {
281 if (arguments.length > 1) return new Buffer(arg, arguments[1])
282 return new Buffer(arg)
304 if (!Buffer.TYPED_ARRAY_SUPPORT) {
324 if (Buffer.isBuffer(object)) return fromBuffer(that, object)
376 if (Buffer.TYPED_ARRAY_SUPPORT) {
379 that = Buffer._augment(new Uint8Array(array))
415 if (Buffer.TYPED_ARRAY_SUPPORT) {
417 that = Buffer._augment(new Uint8Array(length))
424 var fromPool = length !== 0 && length <= Buffer.poolSize >>> 1
443 var buf = new Buffer(subject, encoding)
448 Buffer.isBuffer = function isBuffer (b) {
452 Buffer.compare = function compare (a, b) {
453 if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
480 Buffer.isEncoding = function isEncoding (encoding) {
499 Buffer.concat = function concat (list, length) {
503 return new Buffer(0)
514 var buf = new Buffer(length)
559 Buffer.byteLength = byteLength
562 Buffer.prototype.length = undefined
563 Buffer.prototype.parent = undefined
608 Buffer.prototype.toString = function toString () {
615 Buffer.prototype.equals = function equals (b) {
616 if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
618 return Buffer.compare(this, b) === 0
621 Buffer.prototype.inspect = function inspect () {
631 Buffer.prototype.compare = function compare (b) {
632 if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
634 return Buffer.compare(this, b)
637 Buffer.prototype.indexOf = function indexOf (val, byteOffset) {
652 if (Buffer.isBuffer(val)) {
656 if (Buffer.TYPED_ARRAY_SUPPORT && Uint8Array.prototype.indexOf === 'function') {
679 Buffer.prototype.get = function get (offset) {
685 Buffer.prototype.set = function set (v, offset) {
737 Buffer.prototype.write = function write (string, offset, length, encoding) {
809 Buffer.prototype.toJSON = function toJSON () {
962 Buffer.prototype.slice = function slice (start, end) {
984 if (Buffer.TYPED_ARRAY_SUPPORT) {
985 newBuf = Buffer._augment(this.subarray(start, end))
988 newBuf = new Buffer(sliceLen, undefined)
1007 Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
1022 Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
1038 Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
1043 Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
1048 Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
1053 Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
1062 Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
1071 Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
1089 Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
1107 Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
1113 Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
1119 Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
1125 Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
1134 Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
1143 Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
1148 Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
1153 Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
1158 Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
1164 if (!Buffer.isBuffer(buf)) throw new TypeError('buffer must be a Buffer instance')
1169 Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
1185 Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
1201 Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
1205 if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
1218 Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
1222 if (Buffer.TYPED_ARRAY_SUPPORT) {
1231 Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
1235 if (Buffer.TYPED_ARRAY_SUPPORT) {
1251 Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
1255 if (Buffer.TYPED_ARRAY_SUPPORT) {
1266 Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
1270 if (Buffer.TYPED_ARRAY_SUPPORT) {
1281 Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
1301 Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
1321 Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
1325 if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
1331 Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
1335 if (Buffer.TYPED_ARRAY_SUPPORT) {
1344 Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
1348 if (Buffer.TYPED_ARRAY_SUPPORT) {
1357 Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
1361 if (Buffer.TYPED_ARRAY_SUPPORT) {
1372 Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
1377 if (Buffer.TYPED_ARRAY_SUPPORT) {
1402 Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
1406 Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
1418 Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
1422 Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
1427 Buffer.prototype.copy = function copy (target, targetStart, start, end) {
1459 } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
1472 Buffer.prototype.fill = function fill (value, start, end) {
1506 Buffer.prototype.toArrayBuffer = function toArrayBuffer () {
1508 if (Buffer.TYPED_ARRAY_SUPPORT) {
1509 return (new Buffer(this)).buffer
1525 var BP = Buffer.prototype
1530 Buffer._augment = function _augment (arr) {
1531 arr.constructor = Buffer
1734 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
17029 /* WEBPACK VAR INJECTION */(function(Buffer) {// Generated by CoffeeScript 1.7.1
17178 if (!Buffer.isBuffer(data)) {
17179 data = new Buffer(data + '\n', 'binary');
17274 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
17791 var Buffer = __webpack_require__(2).Buffer;
17918 chunk = new Buffer(chunk, encoding);
18636 ret = Buffer.concat(list, length);
18655 ret = new Buffer(n);
18825 …/* WEBPACK VAR INJECTION */(function(Buffer) {// Copyright Joyent, Inc. and other Node contributor…
18925 return Buffer.isBuffer(arg);
18932 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
19097 var Buffer = __webpack_require__(2).Buffer;
19310 chunk = new Buffer(chunk, encoding);
19574 var Buffer = __webpack_require__(2).Buffer;
19576 var isBufferEncoding = Buffer.isEncoding
19625 this.charBuffer = new Buffer(6);
20075 /* WEBPACK VAR INJECTION */(function(Buffer, __dirname) {/* jslint node: true */
20089 return new Buffer(base64content, 'base64');
20118 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer, "/"))
20124 /* WEBPACK VAR INJECTION */(function(Buffer) {// Generated by CoffeeScript 1.7.1
20187 string = swapBytes(new Buffer('\ufeff' + string, 'utf16le')).toString('binary');
20190 } else if (Buffer.isBuffer(object)) {
20230 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
20236 /* WEBPACK VAR INJECTION */(function(Buffer) {// Generated by CoffeeScript 1.7.1
20276 if (!Buffer.isBuffer(chunk)) {
20277 chunk = new Buffer(chunk + '\n', 'binary');
20295 if (typeof chunk === 'string' || Buffer.isBuffer(chunk)) {
20338 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
20344 …/* WEBPACK VAR INJECTION */(function(Buffer, process) {// Copyright Joyent, Inc. and other Node co…
20563 var buf = Buffer.concat(buffers, nread);
20572 buffer = new Buffer(buffer);
20573 if (!Buffer.isBuffer(buffer))
20689 if (!Buffer.isBuffer(opts.dictionary)) {
20722 this._buffer = new Buffer(this._chunkSize);
20768 this._transform(new Buffer(0), '', callback);
20792 this.write(new Buffer(0), '', callback);
20819 if (!chunk === null && !Buffer.isBuffer(chunk))
20873 var buf = Buffer.concat(buffers, nread);
20913 self._buffer = new Buffer(self._chunkSize);
20955 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer, __webpack_require__(30)))
20961 /* WEBPACK VAR INJECTION */(function(process, Buffer) {var msg = __webpack_require__(49);
21112 input = new Buffer(0);
21198 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(30), __webpack_require__(2).Buffer))
29079 /* WEBPACK VAR INJECTION */(function(Buffer, __dirname) {// Generated by CoffeeScript 1.7.1
29116 } else if (Buffer.isBuffer(src)) {
29119 this.font = TTFFont.fromBuffer(new Buffer(src), family);
29121 this.font = TTFFont.fromBuffer(new Buffer(new Uint8Array(src)), family);
29373 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer, "/"))
29824 /* WEBPACK VAR INJECTION */(function(Buffer) {// Generated by CoffeeScript 1.7.1
29891 return new Buffer(directory.data);
29916 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
65175 /* WEBPACK VAR INJECTION */(function(Buffer) {// Generated by CoffeeScript 1.7.1
65197 if (!Buffer.isBuffer(src)) {
65203 if (!Buffer.isBuffer(src)) {
65258 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
65264 /* WEBPACK VAR INJECTION */(function(Buffer) {// Generated by CoffeeScript 1.7.1
65287 if (Buffer.isBuffer(src)) {
65291 data = new Buffer(match[1], 'base64');
65316 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
65406 /* WEBPACK VAR INJECTION */(function(Buffer) {// Generated by CoffeeScript 1.7.1
65452 palette.end(new Buffer(this.image.palette));
65502 imgData = new Buffer(pixelCount * colorByteSize);
65503 alphaChannel = new Buffer(pixelCount);
65541 alphaChannel = new Buffer(_this.width * _this.height);
65565 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
65571 /* WEBPACK VAR INJECTION */(function(Buffer) {// Generated by CoffeeScript 1.4.0
65703 this.imgData = new Buffer(this.imgData);
65750 pixels = new Buffer(scanlineLength * _this.height);
65824 ret = new Buffer(transparency.length + palette.length);
65876 ret = new Buffer(this.width * this.height * 4);
65889 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
66092 /* WEBPACK VAR INJECTION */(function(Buffer) {/* jslint node: true */
66128 return new Buffer(img.substring(index + 7), 'base64');
66134 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))