()
| 1175 | } |
| 1176 | |
| 1177 | close(): void { |
| 1178 | this.closed = true |
| 1179 | this.generation++ |
| 1180 | this.queue.clear() |
| 1181 | } |
| 1182 | |
| 1183 | // Returns the next entry header, or `undefined` once the archive and the |
| 1184 | // input have ended. Input after the end of the archive is discarded. |