* Clear all items from the buffer.
()
| 70 | * Clear all items from the buffer. |
| 71 | */ |
| 72 | clear(): void { |
| 73 | this.buffer.length = 0 |
| 74 | this.head = 0 |
| 75 | this.size = 0 |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Get the current number of items in the buffer. |
nothing calls this directly
no outgoing calls
no test coverage detected