1
0
forked from fsfw/fsfw

fixed map bugfix (fist instead of first), new access functions for fixed maP

(first(), second()), some documentation, raw pool access read() call public
because call is necessary before using public serialize function.
maybe integrate read() call into serialize function?
This commit is contained in:
2019-12-08 19:04:53 +01:00
parent 950a48078c
commit d99ed47150
6 changed files with 51 additions and 13 deletions

View File

@ -24,10 +24,12 @@ public:
template<typename... Args>
SerialFixedArrayListAdapter(Args... args) : FixedArrayList<T, MAX_SIZE, count_t>(std::forward<Args>(args)...) {
}
ReturnValue_t serialize(uint8_t** buffer, uint32_t* size,
const uint32_t max_size, bool bigEndian) const {
return SerialArrayListAdapter<T, count_t>::serialize(this, buffer, size, max_size, bigEndian);
}
uint32_t getSerializedSize() const {
return SerialArrayListAdapter<T, count_t>::getSerializedSize(this);
}