VMime
|
Public Member Functions | |
noopEncoder () | |
size_t | encode (utility::inputStream &in, utility::outputStream &out, utility::progressListener *progress=NULL) |
size_t | decode (utility::inputStream &in, utility::outputStream &out, utility::progressListener *progress=NULL) |
size_t | getEncodedSize (const size_t n) const |
size_t | getDecodedSize (const size_t n) const |
![]() | |
encoder () | |
virtual | ~encoder () |
const propertySet & | getProperties () const |
propertySet & | getProperties () |
virtual const std::vector< string > | getAvailableProperties () const |
const propertySet & | getResults () const |
Additional Inherited Members | |
![]() | |
propertySet & | getResults () |
![]() | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
Default, no-op encoder (simple copy, no encoding/decoding is performed).
noopEncoder | ( | ) |
|
virtual |
Decode data.
in | input data (encoded) |
out | output stream for decoded data |
progress | progress listener, or NULL if you do not want to receive progress notifications |
Implements encoder.
References vmime::utility::bufferedStreamCopy(), and inputStream::reset().
|
virtual |
Encode data.
in | input data (decoded) |
out | output stream for encoded data |
progress | progress listener, or NULL if you do not want to receive progress notifications |
Implements encoder.
References vmime::utility::bufferedStreamCopy(), and inputStream::reset().
Return the encoded size for the specified input (encoded) size.
If the size is not exact, it may be an estimate which should always be larger than the actual decoded size.
n | count of input (encoded) bytes |
Implements encoder.
Return the encoded size for the specified input (decoded) size.
If the size is not exact, it may be an estimate which should always be larger than the actual encoded size.
n | count of input (decoded) bytes |
Implements encoder.