* Check if the struct value is valid * @this {!AccountModel} * @returns {!boolean} Model valid state
()
| 3418 | * @returns {!boolean} Model valid state |
| 3419 | */ |
| 3420 | verify () { |
| 3421 | if ((this.buffer.offset + this.model.fbeOffset - 4) > this.buffer.size) { |
| 3422 | return false |
| 3423 | } |
| 3424 | |
| 3425 | let fbeFullSize = this.readUInt32(this.model.fbeOffset - 4) |
| 3426 | if (fbeFullSize < this.model.fbeSize) { |
| 3427 | return false |
| 3428 | } |
| 3429 | |
| 3430 | return this.model.verify() |
| 3431 | } |
| 3432 | |
| 3433 | /** |
| 3434 | * Create a new model (begin phase) |
nothing calls this directly
no test coverage detected