Using FML32 typed buffers
FML stands for Field Manipulation Language. Do not be confused by the language part, FML is a data structure containing field identifiers and field values in a flat, contiguous memory block. It is similar to a multimap or multidict in other programming languages where more than one value may be associated with a given key. It also supports many different value types in the same data structure including FML32
containing other FML32
buffers. FML
is an older data structure that supports 16-bit long identifiers, number of fields, and value lengths. FML32
raises those limits and 32 bytes are used for field identifiers, number of fields, and value lengths. All modern applications should use FML32
.
If my words are not enough, another reason in favor of FML32
is that it is used by Tuxedo internally:
- Management services and APIs work with the
FML32
type. - Request metadata uses
FML32
. - Jolt and other features use and support
FML32
. - Tuxedo comes...