12 #ifndef FW_CMD_ARG_BUFFER_HPP 13 #define FW_CMD_ARG_BUFFER_HPP PlatformSizeType FwSizeType
virtual ~CmdArgBuffer()
destructor
U8 * getBuffAddr()
return address of buffer (non const version)
FwSizeType getCapacity() const
return capacity of buffer (how much it can hold)
size when serialized. Buffer + size of buffer
DEPRECATED(FwSizeType getBuffCapacity() const, "Use getCapacity() instead")
static constexpr Serializable::SizeType STATIC_SERIALIZED_SIZE(Serializable::SizeType maxSize)
Get the static serialized size of a buffer This is the max size of the buffer data plus the size of t...
uint8_t U8
8-bit unsigned integer
CmdArgBuffer()
default constructor
CmdArgBuffer & operator=(const CmdArgBuffer &other)
Equal operator.
Implementation of malloc based allocator.