serialize changes. #35

Closed
muellerr wants to merge 21 commits from KSat:mueller_Serialization into master
Showing only changes of commit a88a73a9be - Show all commits

View File

@ -7,6 +7,7 @@
/**
* @brief This adapter provides an interface for SerializeIF to serialize and
* deserialize buffers with a header containing the buffer length.
* Parses the length field automatically.
* @details
* Can be used by SerialLinkedListAdapter by declaring
* as a linked element with SerializeElement<SerialFixedArrayListAdapter<...>>.
@ -47,7 +48,7 @@ public:
buffer, size, max_size, bigEndian);
}
size_t getSerializedSize() const {
size_t getSerializedSize() const override{
return SerialArrayListAdapter<BUFFER_TYPE, count_t>::
getSerializedSize(this);
}
@ -58,10 +59,6 @@ public:
buffer, size, bigEndian);
}
void swapArrayListEndianness() {
SerialArrayListAdapter<BUFFER_TYPE, count_t>::
swapArrayListEndianness(this);
}
};