* Adds many items to the end of the buffer, in order.
(values: T[])
| 113 | * Adds many items to the end of the buffer, in order. |
| 114 | */ |
| 115 | pushAll(values: T[]) { |
| 116 | for (const value of values) { |
| 117 | this.push(value); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Removes and returns the last item in the buffer. |