#include <Io.h>
Inherits libcdoc::DataConsumer.
◆ ChainedConsumer()
libcdoc::ChainedConsumer::ChainedConsumer |
( |
DataConsumer * |
dst, |
|
|
bool |
take_ownership |
|
) |
| |
|
inline |
◆ ~ChainedConsumer()
libcdoc::ChainedConsumer::~ChainedConsumer |
( |
| ) |
|
|
inline |
◆ close()
result_t libcdoc::ChainedConsumer::close |
( |
| ) |
|
|
inlineoverridevirtual |
◆ isError()
bool libcdoc::ChainedConsumer::isError |
( |
| ) |
|
|
inlineoverridevirtual |
◆ write()
result_t libcdoc::ChainedConsumer::write |
( |
const uint8_t * |
src, |
|
|
size_t |
size |
|
) |
| |
|
inlineoverridevirtual |
write write bytes to output object
The following invariant holds: If there was no error then result == size If there was an error then result < 0
- Parameters
-
src | source block |
size | the number of bytes to write |
- Returns
- size or error code
Implements libcdoc::DataConsumer.
◆ _dst
◆ _owned
bool libcdoc::ChainedConsumer::_owned |
|
protected |
The documentation for this struct was generated from the following file: