(chunk: Buffer)
| 176 | let decoder: TextDecoder | undefined |
| 177 | return { |
| 178 | decode(chunk: Buffer) { |
| 179 | decoder ??= new TextDecoder(detectOutputEncoding(chunk)) |
| 180 | return decoder.decode(chunk, { stream: true }) |
| 181 | }, |
| 182 | flush() { |
| 183 | return decoder?.decode() ?? "" |
| 184 | }, |
nothing calls this directly
no test coverage detected