Method
_write
(
chunk: string | Buffer,
encoding: string,
callback: () => void,
)
Source from the content-addressed store, hash-verified
| 25 | } |
| 26 | |
| 27 | override _write( |
| 28 | chunk: string | Buffer, |
| 29 | encoding: string, |
| 30 | callback: () => void, |
| 31 | ): void { |
| 32 | this._parser.write( |
| 33 | isBuffer(chunk, encoding) ? this._decoder.write(chunk) : chunk, |
| 34 | ); |
| 35 | callback(); |
| 36 | } |
| 37 | |
| 38 | override _final(callback: () => void): void { |
| 39 | this._parser.end(this._decoder.end()); |
Callers
nothing calls this directly
Tested by
no test coverage detected