local data pool manager uses new packet now
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
|
||||
/**
|
||||
* @brief This helper class will be used to serialize and deserialize
|
||||
* internal housekeeping packets into the store.
|
||||
* update housekeeping packets into the store.
|
||||
*/
|
||||
class HousekeepingPacketUpdate: public SerializeIF {
|
||||
public:
|
||||
@ -25,8 +25,8 @@ public:
|
||||
virtual ReturnValue_t serialize(uint8_t **buffer, size_t *size,
|
||||
size_t maxSize, Endianness streamEndianness) const {
|
||||
if(timeStamp != nullptr) {
|
||||
// Endianness will always be MACHINE, so we can simply use memcpy
|
||||
// here.
|
||||
/* Endianness will always be MACHINE, so we can simply use memcpy
|
||||
here. */
|
||||
std::memcpy(*buffer, timeStamp, timeStampSize);
|
||||
*size += timeStampSize;
|
||||
*buffer += timeStampSize;
|
||||
@ -48,8 +48,8 @@ public:
|
||||
virtual ReturnValue_t deSerialize(const uint8_t** buffer, size_t* size,
|
||||
SerializeIF::Endianness streamEndianness) override {
|
||||
if(timeStamp != nullptr) {
|
||||
// Endianness will always be MACHINE, so we can simply use memcpy
|
||||
// here.
|
||||
/* Endianness will always be MACHINE, so we can simply use memcpy
|
||||
here. */
|
||||
std::memcpy(timeStamp, *buffer, timeStampSize);
|
||||
*size += timeStampSize;
|
||||
*buffer += timeStampSize;
|
||||
|
Reference in New Issue
Block a user