ToEndOfLayer

Description:

This method return the number of bits from the pointer to the end of the layer, excluding the number of bytes in the "Bytes" parameter. For example, (ToEndOfLayer 2) would return the number of bits left in the frame minus 16. This method is useful when a field subsumes all data left in the layer except for a CRC or checksum at the end. The parameter may be omitted in which case no adjustment is made.

Parameters:

[Optional]

Int

"Bytes from end"

(Default value: 0)

Example:

FIELD bus_idle (ToEndOfLayer) (Binary) SUPPRESS_DETAIL