additional comments on endianness (I hope this is correct)

This commit is contained in:
2019-10-25 21:12:11 +02:00
parent 1631e739b8
commit 8f1517d276
3 changed files with 14 additions and 2 deletions

View File

@ -20,6 +20,13 @@
*
* The AutoSerializeAdapter functions can also be used as an alternative to memcpy
* to retrieve data out of a buffer directly into a class variable with data type T while being able to specify endianness.
*
* In the SOURCE mission , the target architecture is little endian,
* so any buffers must be deSerialized with bool bigEndian = false if
* the parameters are used in the FSFW.
* When serializing for downlink, the packets are generally serialized into big endian for the network when using a TC/UDP client
* like seen in TmPacketStored.cpp for example.
*
* \ingroup serialize
*/
template<typename T, int>

View File

@ -10,6 +10,13 @@
/**
* An interface for alle classes which require translation of objects data into data streams and vice-versa.
*
* In the SOURCE mission , the target architecture is little endian,
* so any buffers must be deSerialized with bool bigEndian = false if
* the parameters are used in the FSFW.
* When serializing for downlink, the packets are generally serialized into big endian for the network when using a TC/UDP client
* like seen in TmPacketStored.cpp for example.
*
* \ingroup serialize
*/
class SerializeIF {