()
| 111 | } |
| 112 | |
| 113 | public readUint32(): number { |
| 114 | if (this._position >= this.length - 3) throw new Error(ErrorMessage.PAGDecodeError); |
| 115 | const value = this.dataView.getUint32(this._position, this.littleEndian); |
| 116 | this._position += 4; |
| 117 | this.positonChanged(); |
| 118 | return value; |
| 119 | } |
| 120 | |
| 121 | public readInt64(): number { |
| 122 | if (this._position >= this.length - 7) throw new Error(ErrorMessage.PAGDecodeError); |
no test coverage detected