|
10Duke Enterprise C++ SDK
|
#include <StringSink.h>
A tenduke::utl::DataSink, which appends binary data to a std::string.
The sink wraps reference to a std::string, and appends binary data to it.
Public Member Functions | |
| StringSink (std::string &buffer) | |
| void | append (const std::uint8_t *data, std::size_t size) override |
| Appends binary data to the sink. | |
| void | append (const DataSpan &data) override |
| Appends a DataSpan to the sink. | |
| void | append (std::uint8_t byte) override |
| Appends a single byte to the sink. | |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Appends binary data to the sink.
| data | data to append |
| size | size of data to append |
Implements tenduke::utl::DataSink.
|
inlineoverridevirtual |