* Check if the struct value is valid * @this {!AccountFinalModel} * @returns {!boolean} Model valid state
()
| 3836 | * @returns {!boolean} Model valid state |
| 3837 | */ |
| 3838 | verify () { |
| 3839 | if ((this.buffer.offset + this._model.fbeOffset) > this.buffer.size) { |
| 3840 | return false |
| 3841 | } |
| 3842 | |
| 3843 | let fbeStructSize = this.readUInt32(this._model.fbeOffset - 8) |
| 3844 | let fbeStructType = this.readUInt32(this._model.fbeOffset - 4) |
| 3845 | if ((fbeStructSize <= 0) || (fbeStructType !== this.fbeType)) { |
| 3846 | return false |
| 3847 | } |
| 3848 | |
| 3849 | return ((8 + this._model.verify()) === fbeStructSize) |
| 3850 | } |
| 3851 | |
| 3852 | /** |
| 3853 | * Serialize the struct value |
nothing calls this directly
no test coverage detected