VMime
|
Public Member Functions | |
void | write (const byte_t *const data, const size_t count) |
void | write (const char *const data, const size_t count) |
template<int N> | |
void | write (const char(&data)[N]) |
virtual void | flush ()=0 |
Public Member Functions inherited from stream | |
virtual | ~stream () |
virtual size_t | getBlockSize () |
Protected Member Functions | |
virtual void | writeImpl (const byte_t *const data, const size_t count)=0 |
Protected Member Functions inherited from object | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
Simple output stream.
|
pure virtual |
Flush this output stream and forces any buffered output bytes to be written out to the stream.
Implemented in LFToCRLFFilteredOutputStream, CRLFToLFFilteredOutputStream, dotFilteredOutputStream, SMTPChunkingOutputStreamAdapter, outputStreamSocketAdapter, outputStreamAdapter, outputStreamByteArrayAdapter, and outputStreamStringAdapter.
Referenced by dotFilteredOutputStream::flush(), CRLFToLFFilteredOutputStream::flush(), and LFToCRLFFilteredOutputStream::flush().
Write data to the stream.
data | buffer containing data to write |
count | number of bytes to write |
References outputStream::writeImpl().
Referenced by vmime::utility::bufferedStreamCopy(), vmime::utility::bufferedStreamCopyRange(), uuEncoder::decode(), b64Encoder::encode(), uuEncoder::encode(), stringProxy::extract(), and vmime::utility::operator<<().
void write | ( | const char *const | data, |
const size_t | count | ||
) |
Write data to the stream.
data | buffer containing data to write |
count | number of bytes to write |
References outputStream::writeImpl().
void write | ( | const char(&) | data[N] | ) |
Write data to the stream.
data | buffer containing data to write |
N | number of bytes to write, including terminating null (value is induced by compiler) |
Write data to the stream.
This is the method to be implemented is subclasses.
data | buffer containing data to write |
count | number of bytes to write |
Implemented in LFToCRLFFilteredOutputStream, CRLFToLFFilteredOutputStream, dotFilteredOutputStream, SMTPChunkingOutputStreamAdapter, outputStreamSocketAdapter, outputStreamAdapter, outputStreamByteArrayAdapter, and outputStreamStringAdapter.
Referenced by outputStream::write().