Lines Matching refs:buffers
5982 …for (var _len = arguments.length, buffers = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _…
5983 buffers[_key - 1] = arguments[_key];
5986 hash.update(Buffer.concat(buffers));
6455 this.buffers = []; // batch mode fills a buffer completely before passing the data on
6473 switch (this.buffers.length) {
6478 return this.buffers[0].toBuffer();
6481 return Buffer.concat(this.buffers.map(function (rwBuf) {
6493 if (this.buffers.length) {
6494 var last = this.buffers[this.buffers.length - 1];
6502 this.buffers.push(buf);
6606 while (!_this2.corked && _this2.buffers.length > 1) {
6607 _this2._pipe(_this2.buffers.shift());
6665 while (this.buffers.length) {
6666 this._pipe(this.buffers.shift());
6705 var buffers; // read min(buffer, size || infinity)
6708 buffers = [];
6710 while (size && this.buffers.length && !this.buffers[0].eod) {
6711 var first = this.buffers[0];
6714 buffers.push(buffer);
6717 this.buffers.shift();
6721 return Buffer.concat(buffers);
6724 buffers = this.buffers.map(function (buf) {
6727 this.buffers = [];
6728 return Buffer.concat(buffers);
6747 if (!this.paused && this.buffers.length) {
26173 var buffers = [];
26176 buffers.push(data);
26182 return res(Buffer.concat(buffers));