���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /home/real/node-v13.0.1/lib/internal/streams/ |
// LazyTransform is a special type of Transform stream that is lazily loaded. // This is used for performance with bi-API-ship: when two APIs are available // for the stream, one conventional and one non-conventional. 'use strict'; const { Object } = primordials; const stream = require('stream'); const { getDefaultEncoding } = require('internal/crypto/util'); module.exports = LazyTransform; function LazyTransform(options) { this._options = options; this.writable = true; this.readable = true; } Object.setPrototypeOf(LazyTransform.prototype, stream.Transform.prototype); Object.setPrototypeOf(LazyTransform, stream.Transform); function makeGetter(name) { return function() { stream.Transform.call(this, this._options); this._writableState.decodeStrings = false; if (!this._options || !this._options.defaultEncoding) { this._writableState.defaultEncoding = getDefaultEncoding(); } return this[name]; }; } function makeSetter(name) { return function(val) { Object.defineProperty(this, name, { value: val, enumerable: true, configurable: true, writable: true }); }; } Object.defineProperties(LazyTransform.prototype, { _readableState: { get: makeGetter('_readableState'), set: makeSetter('_readableState'), configurable: true, enumerable: true }, _writableState: { get: makeGetter('_writableState'), set: makeSetter('_writableState'), configurable: true, enumerable: true }, _transformState: { get: makeGetter('_transformState'), set: makeSetter('_transformState'), configurable: true, enumerable: true } });