* Check if the struct value is valid * @this {!BalanceModel} * @returns {!boolean} Model valid state
()
| 2367 | * @returns {!boolean} Model valid state |
| 2368 | */ |
| 2369 | verify () { |
| 2370 | if ((this.buffer.offset + this.model.fbeOffset - 4) > this.buffer.size) { |
| 2371 | return false |
| 2372 | } |
| 2373 | |
| 2374 | let fbeFullSize = this.readUInt32(this.model.fbeOffset - 4) |
| 2375 | if (fbeFullSize < this.model.fbeSize) { |
| 2376 | return false |
| 2377 | } |
| 2378 | |
| 2379 | return this.model.verify() |
| 2380 | } |
| 2381 | |
| 2382 | /** |
| 2383 | * Create a new model (begin phase) |
nothing calls this directly
no test coverage detected