Description:
This method figures out how much data has been consumed between the start of the field in the "Field that contains length" parameter and the current bit position. Then it compares the value in the "Field that contains length" parameter with the amount of data consumed and returns TRUE if there is more data to decode and FALSE if not.
Parameters:
|
[Required] |
Field |
"Field that contains length" |
|
|
[Optional] |
Int |
"Size of Parameter Field In Bytes" |
(Default value: 0) |
Example:
FIELD consume_data (RelativeFromField length 1) IF (MoreBytesInSegment length 1) (StringOfHex 64) "Data"