Check if the struct value is valid
| 3241 | |
| 3242 | # Check if the struct value is valid |
| 3243 | def verify |
| 3244 | if (buffer.offset + @_model.fbe_offset - 4) > buffer.size |
| 3245 | return false |
| 3246 | end |
| 3247 | |
| 3248 | fbe_full_size = read_uint32(@_model.fbe_offset - 4) |
| 3249 | if fbe_full_size < @_model.fbe_size |
| 3250 | return false |
| 3251 | end |
| 3252 | |
| 3253 | @_model.verify |
| 3254 | end |
| 3255 | |
| 3256 | # Create a new model (begin phase) |
| 3257 | def create_begin |
nothing calls this directly
no test coverage detected