VMime
|
Public Member Functions | |
LFToCRLFFilteredOutputStream (outputStream &os) | |
outputStream & | getNextOutputStream () |
void | flush () |
size_t | getBlockSize () |
Public Member Functions inherited from outputStream | |
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]) |
Public Member Functions inherited from stream | |
virtual | ~stream () |
Protected Member Functions | |
void | writeImpl (const byte_t *const data, const size_t count) |
Protected Member Functions inherited from object | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
A filtered output stream which replaces CR or LF characters with CRLF sequences.
Construct a new filter for the specified output stream.
os | stream into which write filtered data |
|
virtual |
Flush this output stream and forces any buffered output bytes to be written out to the stream.
Implements outputStream.
References outputStream::flush().
|
virtual |
Return the preferred maximum block size when reading from or writing to this stream.
Reimplemented from filteredOutputStream.
References stream::getBlockSize().
|
virtual |
Return a reference to the stream being filtered.
Implements filteredOutputStream.
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 |
Implements outputStream.
References vmime::count(), and vmime::end().