COMMS
Template library intended to help with implementation of communication protocols.
comms::option::def::SequenceElemFixedSerLengthFieldPrefix< TField, TReadErrorStatus > Struct Template Reference

#include "comms/options.h"

Detailed Description

template<typename TField, comms::ErrorStatus TReadErrorStatus = comms::ErrorStatus::InvalidMsgData>
struct comms::option::def::SequenceElemFixedSerLengthFieldPrefix< TField, TReadErrorStatus >

Option that forces first element only of comms::field::ArrayList to be prefixed with its serialisation length.

Similar to SequenceElemSerLengthFieldPrefix, but applicable only to the lists where elements are of the same fixed size, where there is no need to prefix every element with its size.

Template Parameters
TFieldType of the field that represents serialisation length
TReadErrorStatusError status to return in case read operation fails when should not

The documentation for this struct was generated from the following file: