Build a record payload. More...
#include <MessageBuilder.h>
Public Member Functions | |
| virtual size_t | size () const =0 |
| Return the size of the payload built by this object. More... | |
| virtual void | build (const Span< uint8_t > &buffer) const =0 |
| Build the payload in a buffer that has the required size. More... | |
Protected Member Functions | |
| ~PayloadBuilder () | |
| Non virtual destructor. More... | |
Build a record payload.
Definition at line 44 of file MessageBuilder.h.
|
protected |
Non virtual destructor.
Definition at line 63 of file MessageBuilder.h.
|
pure virtual |
Build the payload in a buffer that has the required size.
| buffer | The buffer used to construct the payload. |
|
pure virtual |
Return the size of the payload built by this object.