()
| 560 | } |
| 561 | |
| 562 | public reset() { |
| 563 | this._lastLit = 0; |
| 564 | this._extraBits = 0; |
| 565 | this._literalTree.reset(); |
| 566 | this._distTree.reset(); |
| 567 | this._blTree.reset(); |
| 568 | } |
| 569 | |
| 570 | public flushStoredBlock(stored: Uint8Array, storedOffset: number, storedLength: number, lastBlock: boolean) { |
| 571 | this.pending.writeBits((DeflaterHuffman.storedBlock << 1) + (lastBlock ? 1 : 0), 3); |
no test coverage detected