Extends the valid data and parses the frame.
This function extends the valid data and parses the given frame to the requested level. The parsing is performed to the extent that is achievable with the amount of valid data. The resulting parse level may be higher that the requested one, if it can be achieved without additional parsing.
- Parameters
-
[in,out] | p_parser_data | Pointer to a parser data to extend. |
[in] | valid_data_len | Number of valid bytes in the frame. |
[in] | requested_parse_level | Requested parse level. |
- Return values
-
true | The parsing succeeded and requested parse level was achieved. |
false | The parsing failed or requested parse level could not be achieved. |