()
| 61 | } |
| 62 | |
| 63 | public readInt8(): number { |
| 64 | if (this._position >= this.length) throw new Error(ErrorMessage.PAGDecodeError); |
| 65 | const value = this.dataView.getInt8(this._position); |
| 66 | this._position += 1; |
| 67 | this.positonChanged(); |
| 68 | return value; |
| 69 | } |
| 70 | |
| 71 | public readInt16(): number { |
| 72 | if (this._position >= this.length - 1) throw new Error(ErrorMessage.PAGDecodeError); |
no test coverage detected