Check if the struct value is valid
| 7523 | |
| 7524 | # Check if the struct value is valid |
| 7525 | def verify |
| 7526 | if (buffer.offset + @_model.fbe_offset - 4) > buffer.size |
| 7527 | return false |
| 7528 | end |
| 7529 | |
| 7530 | fbe_full_size = read_uint32(@_model.fbe_offset - 4) |
| 7531 | if fbe_full_size < @_model.fbe_size |
| 7532 | return false |
| 7533 | end |
| 7534 | |
| 7535 | @_model.verify |
| 7536 | end |
| 7537 | |
| 7538 | # Create a new model (begin phase) |
| 7539 | def create_begin |
nothing calls this directly
no test coverage detected