KMIME Library
KMime::BinaryCodec Class Reference
#include <kmime_codec_identity.h>
Inheritance diagram for KMime::BinaryCodec:

Detailed Description
A class representing the codec for eight-bit-binary.Definition at line 172 of file kmime_codec_identity.h.
Public Member Functions | |
int | maxDecodedSizeFor (int insize, bool withCRLF=false) const |
int | maxEncodedSizeFor (int insize, bool withCRLF=false) const |
const char * | name () const |
~BinaryCodec () | |
Protected Member Functions | |
BinaryCodec () |
Constructor & Destructor Documentation
KMime::BinaryCodec::BinaryCodec | ( | ) | [inline, protected] |
KMime::BinaryCodec::~BinaryCodec | ( | ) | [inline] |
Member Function Documentation
int KMime::BinaryCodec::maxDecodedSizeFor | ( | int | insize, | |
bool | withCRLF = false | |||
) | const [inline, virtual] |
Computes the maximum size, in characters, needed for the deccoding.
- Parameters:
-
insize is the number of input characters to be decoded. withCRLF if true, make the newlines CRLF; else use LF.
- Returns:
- the maximum number of characters in the decoding.
Reimplemented from KMime::IdentityCodec.
Definition at line 205 of file kmime_codec_identity.h.
int KMime::BinaryCodec::maxEncodedSizeFor | ( | int | insize, | |
bool | withCRLF = false | |||
) | const [inline, virtual] |
Computes the maximum size, in characters, needed for the encoding.
- Parameters:
-
insize is the number of input characters to be encoded. withCRLF if true, make the newlines CRLF; else use LF.
- Returns:
- the maximum number of characters in the encoding.
Reimplemented from KMime::IdentityCodec.
Definition at line 198 of file kmime_codec_identity.h.
const char* KMime::BinaryCodec::name | ( | ) | const [inline, virtual] |
Returns the name of the encoding.
Guaranteed to be lowercase.
Implements KMime::Codec.
Definition at line 191 of file kmime_codec_identity.h.
The documentation for this class was generated from the following file: