Offset Mapping

Prev Next

Param name

Mandatory

Description

Possible Value

offset

Yes

The byte offset into the message at which the field begins.

0 - 2,147,483,647

length

Yes

The length of the field.

1 - 2,147,483,647

field

Yes

The name that will be assigned to this RAS field.

Not null.

Example XML:

<OffsetParser>
   <StartBytes></StartBytes>
   <EndBytes>5E</EndBytes>
   <Length>15</Length>
   <Trim>Left</Trim>
   <Encoding>utf-8</Encoding>
   <OffsetMappings>
     <OffsetMapping offset="0" length="3" field="category" />
     <OffsetMapping offset="3" length="4" field="cartNumber" />
     <OffsetMapping offset="10" length="5" field="length" />
   </OffsetMappings>
</OffsetParser>