()
| 1558 | } |
| 1559 | |
| 1560 | takeCloses(): { readonly frames: Uint8Array; readonly count: number } | undefined { |
| 1561 | const closes = this.closes |
| 1562 | if (closes === undefined) return undefined |
| 1563 | this.closes = undefined |
| 1564 | return { frames: closes.length === 1 ? closes[0] : concat(closes), count: closes.length } |
| 1565 | } |
| 1566 | } |
| 1567 | |
| 1568 | /** |