* Check if the struct value is valid * @this {!StructNestedModel} * @returns {!boolean} Model valid state
()
| 11870 | * @returns {!boolean} Model valid state |
| 11871 | */ |
| 11872 | verify () { |
| 11873 | if ((this.buffer.offset + this.model.fbeOffset - 4) > this.buffer.size) { |
| 11874 | return false |
| 11875 | } |
| 11876 | |
| 11877 | let fbeFullSize = this.readUInt32(this.model.fbeOffset - 4) |
| 11878 | if (fbeFullSize < this.model.fbeSize) { |
| 11879 | return false |
| 11880 | } |
| 11881 | |
| 11882 | return this.model.verify() |
| 11883 | } |
| 11884 | |
| 11885 | /** |
| 11886 | * Create a new model (begin phase) |
nothing calls this directly
no test coverage detected