#include <io_adapter.h>
◆ writer() [1/3]
VW::io::writer::writer |
( |
| ) |
|
|
default |
◆ ~writer()
virtual VW::io::writer::~writer |
( |
| ) |
|
|
virtualdefault |
◆ writer() [2/3]
VW::io::writer::writer |
( |
writer & |
other | ) |
|
|
delete |
◆ writer() [3/3]
VW::io::writer::writer |
( |
writer && |
other | ) |
|
|
delete |
◆ flush()
virtual void VW::io::writer::flush |
( |
| ) |
|
|
inlinevirtual |
Writers may implement flush - by default is a noop.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ write()
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 class was generated from the following file:
- /nix/store/2saqbz278bj3pvhbfxlcc50cjbvs3h0h-source/vowpalwabbit/io/include/vw/io/io_adapter.h