()
| 137 | } |
| 138 | |
| 139 | public readFloat32(): number { |
| 140 | if (this._position >= this.length - 3) throw new Error(ErrorMessage.PAGDecodeError); |
| 141 | const value = this.dataView.getFloat32(this._position, this.littleEndian); |
| 142 | this._position += 4; |
| 143 | this.positonChanged(); |
| 144 | return value; |
| 145 | } |
| 146 | |
| 147 | public readDouble(): number { |
| 148 | if (this._position >= this.length - 7) throw new Error(ErrorMessage.PAGDecodeError); |
no test coverage detected