KMIME Library
#include <kmime_codec_base64.h>

Public Member Functions | |
virtual | ~Base64Codec () |
Decoder * | makeDecoder (bool withCRLF=false) const |
Encoder * | makeEncoder (bool withCRLF=false) const |
int | maxDecodedSizeFor (int insize, bool withCRLF=false) const |
int | maxEncodedSizeFor (int insize, bool withCRLF=false) const |
const char * | name () const |
Protected Member Functions | |
Base64Codec () |
Detailed Description
A class representing the codec for Base64 as specified in RFC2045.
Definition at line 64 of file kmime_codec_base64.h.
Constructor & Destructor Documentation
KMime::Base64Codec::Base64Codec | ( | ) | [inline, protected] |
Constructs a Base64 codec.
Definition at line 71 of file kmime_codec_base64.h.
virtual KMime::Base64Codec::~Base64Codec | ( | ) | [inline, virtual] |
Destroys the codec.
Definition at line 77 of file kmime_codec_base64.h.
Member Function Documentation
Decoder * KMime::Base64Codec::makeDecoder | ( | bool | withCRLF = false | ) | const [virtual] |
- Returns:
- a pointer to an instance of the codec's decoder.
Implements KMime::Codec.
Definition at line 155 of file kmime_codec_base64.cpp.
Encoder * KMime::Base64Codec::makeEncoder | ( | bool | withCRLF = false | ) | const [virtual] |
- Returns:
- a pointer to an instance of the codec's encoder.
Implements KMime::Codec.
Reimplemented in KMime::Rfc2047BEncodingCodec.
Definition at line 150 of file kmime_codec_base64.cpp.
int KMime::Base64Codec::maxDecodedSizeFor | ( | int | insize, |
bool | withCRLF = false |
||
) | const [inline, virtual] |
- 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.
Implements KMime::Codec.
Reimplemented in KMime::Rfc2047BEncodingCodec.
Definition at line 106 of file kmime_codec_base64.h.
int KMime::Base64Codec::maxEncodedSizeFor | ( | int | insize, |
bool | withCRLF = false |
||
) | const [inline, virtual] |
- 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.
Implements KMime::Codec.
Reimplemented in KMime::Rfc2047BEncodingCodec.
Definition at line 90 of file kmime_codec_base64.h.
const char* KMime::Base64Codec::name | ( | ) | const [inline, virtual] |
Guaranteed to be lowercase.
Implements KMime::Codec.
Reimplemented in KMime::Rfc2047BEncodingCodec.
Definition at line 83 of file kmime_codec_base64.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:55:59 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.