(value: string)
| 2477 | } |
| 2478 | // Synchronously add string as buffer |
| 2479 | addString(value: string): void { |
| 2480 | this.buffers.push(Buffer.from(value, "utf8")); |
| 2481 | } |
| 2482 | // Get current accumulated size |
| 2483 | getCurrentSize(): number { |
| 2484 | return this.buffers.reduce((size, buf) => size + buf.length, 0); |
no outgoing calls
no test coverage detected