template<typename TField,
comms::ErrorStatus TReadErrorStatus = comms::ErrorStatus::InvalidMsgData>
struct comms::option::def::SequenceSerLengthFieldPrefix< TField, TReadErrorStatus >
Option that modifies the default behaviour of collection fields to prepend the serialised data with number of bytes information.
Similar to SequenceSizeFieldPrefix, but instead of number of elements to follow, the prefix field contains number of bytes that will follow.
using MyField =
MyFieldBase,
std::tuple<
>
>,
>
>;
Base class to all the field classes.
Definition Field.h:33
Field that represents a sequential collection of fields.
Definition ArrayList.h:192
Bundles multiple fields into a single field.
Definition Bundle.h:61
Field that represent integral value.
Definition IntValue.h:72
Field that represents a string.
Definition String.h:159
Option that modifies the default behaviour of collection fields to prepend the serialised data with n...
Definition options.h:465
- Template Parameters
-
TField | Type of the field that represents serialisation length |
TReadErrorStatus | Error status to return in case read operation fails when should not |