|
10Duke Enterprise C++ SDK
|
#include <DataSink.h>
A sink to which binary data can be appended.
Public Member Functions | |
| virtual void | append (const std::uint8_t *data, std::size_t size)=0 |
| Appends binary data to the sink. | |
| virtual void | append (const DataSpan &data)=0 |
| Appends a DataSpan to the sink. | |
| virtual void | append (std::uint8_t byte)=0 |
| Appends a single byte to the sink. | |
|
pure virtual |
Appends a DataSpan to the sink.
| data | data to append |
|
pure virtual |
Appends binary data to the sink.
| data | data to append |
| size | size of data to append |
|
pure virtual |
Appends a single byte to the sink.
| byte | byte to append |