In `function consumeEnd (consume)` We do: `Buffer.concat(body).toString()` I think there can be faster or at least more memory efficient alternatives, e.g. using a streaming `TextDecoder`
In
function consumeEnd (consume)We do:
Buffer.concat(body).toString()I think there can be faster or at least more memory efficient alternatives, e.g. using a streaming
TextDecoder