KSat/fsfw:mueller/serializeif-update
development
SerializerAdapter
@@ -84,0 +140,4 @@
* - @c RETURN_OK Successful deserialization
*/
template<typename T>
static ReturnValue_t deSerialize(T *object, const uint8_t* const buffer,
As the Pointer can not be changed here the second const seems useless to me.
This might get rid of the const_cast
done
@@ -84,0 +127,4 @@
*
* @details
* Object Must be trivially copy-able or a child of SerializeIF.
* Buffer will be moved to the current read location. Size will be decreased by the function.
The comment here is wrong. The size is no longer decreased.
done. buffer is not moved as well here
@@ -84,0 +130,4 @@
* @param[in] object: Pointer to object to deserialize
* @param[in/out] buffer: Buffer to deSerialize from
In this function the buffer is no "out" just in.
1899d004eb
30217aa42b
No dependencies set.
The note is not visible to the blocked user.
SerializerAdapterto also take simple pointer and simply assign the serialized and deSerialized size@@ -84,0 +140,4 @@* - @c RETURN_OK Successful deserialization*/template<typename T>static ReturnValue_t deSerialize(T *object, const uint8_t* const buffer,As the Pointer can not be changed here the second const seems useless to me.
This might get rid of the const_cast
done
@@ -84,0 +127,4 @@** @details* Object Must be trivially copy-able or a child of SerializeIF.* Buffer will be moved to the current read location. Size will be decreased by the function.The comment here is wrong. The size is no longer decreased.
done. buffer is not moved as well here
@@ -84,0 +130,4 @@* Buffer will be moved to the current read location. Size will be decreased by the function.** @param[in] object: Pointer to object to deserialize* @param[in/out] buffer: Buffer to deSerialize fromIn this function the buffer is no "out" just in.
done
1899d004ebto30217aa42b