remove doubly defines

This commit is contained in:
2022-07-23 10:29:19 +02:00
parent fd55de9e95
commit b66fd63cb4
2 changed files with 1 additions and 15 deletions

View File

@ -74,20 +74,6 @@ class SerializeIF {
return serialize(buffer, size, maxSize, SerializeIF::Endianness::MACHINE);
}
/**
* Forwards to regular @serialize call with network endianness
*/
virtual ReturnValue_t serializeNe(uint8_t** buffer, size_t* size, size_t maxSize) {
return serialize(buffer, size, maxSize, SerializeIF::Endianness::NETWORK);
}
/**
* If endianness is not explicitly specified, use machine endianness
*/
virtual ReturnValue_t serialize(uint8_t **buffer, size_t *size, size_t maxSize) {
return serialize(buffer, size, maxSize, SerializeIF::Endianness::MACHINE);
}
/**
* Gets the size of a object if it would be serialized in a buffer
* @return Size of serialized object