Table of contents


Template Field defines the following main decoding actions:

  • Defining if the field is presents in the stream (input FAST mesage)
  • Creating field values by extracted bytes which were decoded using stop bit definition
  • Defining calculations against decoded field values to achieve the final output field value.

When we implement this concept in code, Template Field has a set of TemplateUnit methods that decode according to its FieldOperator property. And Field Operators are described next.

Field Operators

A field operator can be assigned to a template field. One simple example is the "copy" operator, where you want to use the previous value if no value is in this message to override. This is common for dates, which are often repeated.

But there are a number of operators available that define how fields are encoded and decoded. These are all listed below.