()
| 135 | } |
| 136 | |
| 137 | private decAddr(): void { |
| 138 | if (this.address > 0) { |
| 139 | this.address -= getLastUnicodeChar(this.pages.get(this.pageIndex)!, this.address)!.length; |
| 140 | } else if (!this.isFirstPage) { |
| 141 | this.pageIndex--; |
| 142 | const page = this.pages.get(this.pageIndex)!; |
| 143 | this.address = page.length - getLastUnicodeChar(page)!.length; |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | private loadChar(): void { |
| 148 | if (this.eof) { |
no test coverage detected