1
0
forked from fsfw/fsfw

set buffer: const buffer is set too

This commit is contained in:
2020-06-11 16:46:18 +02:00
parent 6838a9e768
commit f578c3ea29
2 changed files with 11 additions and 6 deletions

View File

@ -67,7 +67,7 @@ public:
uint8_t * getBuffer();
const uint8_t * getConstBuffer();
void setBuffer(uint8_t* buffer_, count_t bufferLength_);
void setBuffer(uint8_t* buffer, count_t bufferLength);
private:
bool serializeLength = false;
const uint8_t *constBuffer = nullptr;