serialize changes. #35
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user