serialize changes. #35

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

View File

@ -45,8 +45,8 @@ public:
return getSerializedSize(adaptee);
}
static uint32_t getSerializedSize(const ArrayList<T, count_t>* list) {
uint32_t printSize = sizeof(count_t);
static size_t getSerializedSize(const ArrayList<T, count_t>* list) {
size_t printSize = sizeof(count_t);
count_t i = 0;
for (i = 0; i < list->size; ++i) {
@ -83,10 +83,6 @@ public:
return result;
}
static void swapArrayListEndianness(ArrayList<T, count_t>* list) {
list->swapArrayListEndianness();
}
private:
ArrayList<T, count_t> *adaptee;
};