(state, chunk, encoding)
| 25221 | }; |
| 25222 | |
| 25223 | function decodeChunk(state, chunk, encoding) { |
| 25224 | if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') { |
| 25225 | chunk = Buffer.from(chunk, encoding); |
| 25226 | } |
| 25227 | return chunk; |
| 25228 | } |
| 25229 | |
| 25230 | Object.defineProperty(Writable.prototype, 'writableHighWaterMark', { |
| 25231 | // making it explicit this property is not enumerable |