Table of contents

 

FAST defines several data types for encoding message fields. The template declares a data type for each template field. The choice of data type controls the binary format of the encoded field.

For the decoder, data type controls the following:

  1. Extracting field value from the encoded message.
  2. Stop bit rules.
  3. Null value representation and value adjustments to non-null values of optional fields.

In our code, we combine these steps and consider it one process. The available data types are:

  1. Unsigned Integer
  2. Signed Integer
  3. Decimal
  4. ASCII String
  5. Byte Vector and Unicode String

The next sections detail the above data types and describe how the decoder will extract each type, the stop bit rules, and null value representation.