* Check if the struct value is valid * @this {!AccountModel} * @returns {!boolean} Model valid state
()
| 3569 | * @returns {!boolean} Model valid state |
| 3570 | */ |
| 3571 | verify () { |
| 3572 | if ((this.buffer.offset + this.model.fbeOffset - 4) > this.buffer.size) { |
| 3573 | return false |
| 3574 | } |
| 3575 | |
| 3576 | let fbeFullSize = this.readUInt32(this.model.fbeOffset - 4) |
| 3577 | if (fbeFullSize < this.model.fbeSize) { |
| 3578 | return false |
| 3579 | } |
| 3580 | |
| 3581 | return this.model.verify() |
| 3582 | } |
| 3583 | |
| 3584 | /** |
| 3585 | * Create a new model (begin phase) |
nothing calls this directly
no test coverage detected