(content)
| 78 | |
| 79 | class MemoryReadableStream extends Readable { |
| 80 | constructor(content) { |
| 81 | super() |
| 82 | this._content = content |
| 83 | this._currentOffset = 0 |
| 84 | } |
| 85 | |
| 86 | _read(size) { |
| 87 | if (this._currentOffset >= this._content.length) { |
nothing calls this directly
no outgoing calls
no test coverage detected