Offset Length

Value Description
Type Signed Numbers
Default value 0
Description Offset and Length can be used to target subsets of data referenced with ApplyTo.

First, Offset is applied

If Offset >= 0, Offset specifies the number of bytes that are to be removed from the beginning of the data.

If Offset < 0, -Offset specifies the number of bytes that are to be kept, counting backward from the last byte.

Second, Length is applied

If Length > 0, Length specifies the number of bytes that are to be used, counting forward from the first byte.

If Length <= 0, -Length specifies the number of bytes that are to be removed, counting backward from the last byte.

Offset and Length calculations may not be possible, or may be only partially possible.

Example 1

ApplyTo returns 30 Bytes of data, Offset specifies "40" => Offset calculation is not possible.

In this case the resulting data has the value Null.

Example 2

ApplyTo returns 30 Bytes of data, Length specifies "35" => Length calculation is possible, however the length must be adjusted to the maximum available value of "30."

In this case the resulting data may have the special value Null or it may equal the maximum data available, depending on the condition attribute UseDataAvail.