The MessageSerializer uses C# to serialize classes to an array of bytes and vice-versa while automatically calculating fields such as lengths and CRCs.
TypeSelectorNumeric
The TypeSelectorNumeric checks to see if the ElementType of the MessageSerializedPropertyInfo
is a numeric type and that the length as specified by the Length property of the MessageSerializedPropertyInfo attribute
is a power of 2. If so, TypeSelectorNumeric returns TypeSerializerNumeric.
Note: In the future the length requirement will most likely be removed.