(c: number)
| 71 | } |
| 72 | |
| 73 | public addByte(c: number): void { |
| 74 | if (this.pos === InflateWindow._bufferSize) { |
| 75 | this.slide(); |
| 76 | } |
| 77 | this.buffer[this.pos] = c; |
| 78 | this.pos++; |
| 79 | } |
| 80 | |
| 81 | public getLastChar(): number { |
| 82 | return this.buffer[this.pos - 1]; |