* Check if the struct value is valid * @this {!BalanceModel} * @returns {!boolean} Model valid state
()
| 2519 | * @returns {!boolean} Model valid state |
| 2520 | */ |
| 2521 | verify () { |
| 2522 | if ((this.buffer.offset + this.model.fbeOffset - 4) > this.buffer.size) { |
| 2523 | return false |
| 2524 | } |
| 2525 | |
| 2526 | let fbeFullSize = this.readUInt32(this.model.fbeOffset - 4) |
| 2527 | if (fbeFullSize < this.model.fbeSize) { |
| 2528 | return false |
| 2529 | } |
| 2530 | |
| 2531 | return this.model.verify() |
| 2532 | } |
| 2533 | |
| 2534 | /** |
| 2535 | * Create a new model (begin phase) |
nothing calls this directly
no test coverage detected