OffsetToEnd

Description:

This method sets the size of the next protocol layer as the rest of the frame minus the value of the "Offset" parameter. The size of the next layer is thus the number of bytes in the rest of the frame minus two to allow for the 16-bit frame-check sequence (FCS) at the end.

Parameters:

[Required]

Int

"Offset from the end of frame"


Example:

The Async PPP decoder, for example, includes the statement:

NEXT_PROTOCOL_SIZE (OffsetToEnd 3)