Template Function operator<<(sdv::serializer<eTargetEndianess, TCRC>&, const T&)#

Function Documentation#

template<typename T, sdv::EEndian eTargetEndianess, typename TCRC>
sdv::serializer<eTargetEndianess, TCRC> &operator<<(sdv::serializer<eTargetEndianess, TCRC> &rSerializer, const T &rtValue)#

Stream the variable into the serializer.

Template Parameters:
  • T – Type of the variable.

  • eTargetEndianess – The target endianness determines whether to swap the bytes before storing them into the buffer.

  • TCRC – The CRC type to use for the checksum calculation.

Parameters:
  • rSerializer[in] Reference to the serializer.

  • rtValue[in] Reference to the variable.

Returns:

Reference to the serializer.