8 FW_ASSERT(size <=
sizeof(this->m_bufferData));
18 FW_ASSERT(other.getBuffAddr() !=
nullptr);
19 FW_ASSERT(other.getSize() <=
sizeof(this->m_bufferData));
39 return sizeof(this->m_bufferData);
47 return this->m_bufferData;
51 return this->m_bufferData;
Serialization/Deserialization operation was successful.
Serializable::SizeType getSize() const override
Get current buffer size.
virtual ~SmSignalBuffer()
SerializeStatus
forward declaration for string
SerializeStatus setBuff(const U8 *src, Serializable::SizeType length) override
Set buffer contents from external source.
uint8_t U8
8-bit unsigned integer
SmSignalBuffer & operator=(const SmSignalBuffer &other)
Serializable::SizeType getCapacity() const
Get buffer capacity.
U8 * getBuffAddr()
Get buffer address for data filling (non-const version)
Implementation of malloc based allocator.