()
| 375 | // Private methods |
| 376 | |
| 377 | #recomputeMinCursor() { |
| 378 | const { minCursor, minCursorConsumers } = getMinCursor( |
| 379 | this.#consumers, this.#bufferStart + this.#buffer.length); |
| 380 | this.#cachedMinCursor = minCursor; |
| 381 | this.#cachedMinCursorConsumers = minCursorConsumers; |
| 382 | } |
| 383 | |
| 384 | #tryTrimBuffer() { |
| 385 | if (this.#cachedMinCursorConsumers === 0) { |
no test coverage detected