* Check if the struct value is valid * @this {!StructOptionalModel} * @returns {!boolean} Model valid state
()
| 8613 | * @returns {!boolean} Model valid state |
| 8614 | */ |
| 8615 | verify () { |
| 8616 | if ((this.buffer.offset + this.model.fbeOffset - 4) > this.buffer.size) { |
| 8617 | return false |
| 8618 | } |
| 8619 | |
| 8620 | let fbeFullSize = this.readUInt32(this.model.fbeOffset - 4) |
| 8621 | if (fbeFullSize < this.model.fbeSize) { |
| 8622 | return false |
| 8623 | } |
| 8624 | |
| 8625 | return this.model.verify() |
| 8626 | } |
| 8627 | |
| 8628 | /** |
| 8629 | * Create a new model (begin phase) |
nothing calls this directly
no test coverage detected