COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
comms::option::def::SequenceElemSerLengthFieldPrefix< TField, TReadErrorStatus > Struct Template Reference

#include "comms/options.h"

Detailed Description

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

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

Similar to SequenceSerLengthFieldPrefix but instead of the whole list, every element is prepended with its serialisation length.

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: