#include <io_adapter.h>
VW::io::writer::writer |
( |
| ) |
|
|
default |
virtual VW::io::writer::~writer |
( |
| ) |
|
|
virtualdefault |
VW::io::writer::writer |
( |
writer & |
other | ) |
|
|
delete |
VW::io::writer::writer |
( |
writer && |
other | ) |
|
|
delete |
virtual void VW::io::writer::flush |
( |
| ) |
|
|
inlinevirtual |
Writers may implement flush - by default is a noop.
virtual ssize_t VW::io::writer::write |
( |
const char * |
buffer, |
|
|
size_t |
num_bytes |
|
) |
| |
|
pure virtual |
Write num_bytes of bytes from buffer into this writer
- Parameters
-
buffer | buffer to write from |
num_bytes | number of bytes of buffer to write. buffer must be at least this large otherwise this is undefined behavior. |
- Returns
- the number of bytes successfully written
The documentation for this struct was generated from the following file:
- /__w/vowpal_wabbit/vowpal_wabbit/vowpalwabbit/io/io_adapter.h