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 |
Protected Member Functions | |
BinaryCodec () |
Detailed Description
A class representing the codec for eight-bit-binary.
Definition at line 175 of file kmime_codec_identity.h.
Constructor & Destructor Documentation
KMime::BinaryCodec::BinaryCodec | ( | ) | [inline, protected] |
Constructs the 8-bit-binary codec.
Definition at line 182 of file kmime_codec_identity.h.
KMime::BinaryCodec::~BinaryCodec | ( | ) | [inline] |
Destroys the codec.
Definition at line 188 of file kmime_codec_identity.h.
Member Function Documentation
int KMime::BinaryCodec::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.
Reimplemented from KMime::IdentityCodec.
Definition at line 208 of file kmime_codec_identity.h.
int KMime::BinaryCodec::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.
Reimplemented from KMime::IdentityCodec.
Definition at line 201 of file kmime_codec_identity.h.
const char* KMime::BinaryCodec::name | ( | ) | const [inline, virtual] |
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-2012 The KDE developers.
Generated on Thu May 10 2012 22:17:29 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:17:29 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.