---
title: "Offset Mapping"
slug: "offset-mapping"
updated: 2024-11-26T17:12:04Z
published: 2024-11-26T17:12:04Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.tritondigital.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Offset Mapping

| **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:**

```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>
```
