FromEnd

Description:

Moves the pointer to a given offset from the end of the layer. The first parameter is the number of units to move and the second is the unit (see the Fixed Size Method). Thus (FromEnd 4 Bits) would move the pointer 4 bits prior to the end of the layer while (FromEnd 4 Bytes) would move the pointer 32 bits from the end of the layer. Both parameters are optional and, if omitted, will default to zero and Bytes.

Parameters:

[Optional]

Int

"Offset"

(Default value: 0)

[Optional]

List

"Units"

(Default value: Bytes)

List values:

Bit

Bits

Times

Nibble

Nibbles

Byte

Bytes

Octet

Octets

Word

Words

Dword

Dwords

Qword

Qwords

Example:

FIELD fcs START_BIT (FromEnd 1 Byte) (Fixed 1) (Hex) "FCS" NO_MOVE VERIFY (RFCommCrc crc_end_not_uih)