()
| 1389 | } |
| 1390 | |
| 1391 | end(): void { |
| 1392 | const header = this.header! |
| 1393 | this.header = undefined |
| 1394 | if (this.written !== header.size) { |
| 1395 | throw sizeMismatch(header, this.written) |
| 1396 | } |
| 1397 | this.reserve(padding(header.size)) |
| 1398 | } |
| 1399 | |
| 1400 | finish(): void { |
| 1401 | this.reserve(BLOCK * 2) |
no test coverage detected