KMIME Library
KMime::BinaryCodec Class Reference
#include <kmime_codec_identity.h>
Inheritance diagram for KMime::BinaryCodec:
Public Member Functions | |
| ~BinaryCodec () | |
| int | maxDecodedSizeFor (int insize, bool withCRLF=false) const |
| int | maxEncodedSizeFor (int insize, bool withCRLF=false) const |
| const char * | name () const |
Public Member Functions inherited from KMime::IdentityCodec | |
| ~IdentityCodec () | |
| QByteArray | decode (const QByteArray &src, bool withCRLF=false) const |
| QByteArray | encode (const QByteArray &src, bool withCRLF=false) const |
| Decoder * | makeDecoder (bool withCRLF=false) const |
| Encoder * | makeEncoder (bool withCRLF=false) const |
Public Member Functions inherited from KMime::Codec | |
| virtual | ~Codec () |
| virtual bool | decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, bool withCRLF=false) const |
| virtual bool | encode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, bool withCRLF=false) const |
Protected Member Functions | |
| BinaryCodec () | |
Protected Member Functions inherited from KMime::IdentityCodec | |
| IdentityCodec () | |
Protected Member Functions inherited from KMime::Codec | |
| Codec () | |
Additional Inherited Members | |
Static Public Member Functions inherited from KMime::Codec | |
| static Codec * | codecForName (const char *name) |
| static Codec * | codecForName (const QByteArray &name) |
Detailed Description
A class representing the codec for eight-bit-binary.
Definition at line 175 of file kmime_codec_identity.h.
Constructor & Destructor Documentation
|
inlineprotected |
Constructs the 8-bit-binary codec.
Definition at line 182 of file kmime_codec_identity.h.
|
inline |
Destroys the codec.
Definition at line 188 of file kmime_codec_identity.h.
Member Function Documentation
|
inlinevirtual |
- 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 208 of file kmime_codec_identity.h.
|
inlinevirtual |
- 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 201 of file kmime_codec_identity.h.
|
inlinevirtual |
Guaranteed to be lowercase.
Implements KMime::Codec.
Definition at line 194 of file kmime_codec_identity.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Wed Jun 5 2013 12:08:46 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Wed Jun 5 2013 12:08:46 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
Public Member Functions inherited from