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 |
![]() | |
virtual | ~Codec () |
virtual bool | decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, bool withCRLF=false) const |
virtual QByteArray | decode (const QByteArray &src, bool withCRLF=false) const |
virtual bool | encode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, bool withCRLF=false) const |
virtual QByteArray | encode (const QByteArray &src, bool withCRLF=false) const |
virtual Decoder * | makeDecoder (bool withCRLF=false) const =0 |
virtual Encoder * | makeEncoder (bool withCRLF=false) const =0 |
virtual int | maxDecodedSizeFor (int insize, bool withCRLF=false) const =0 |
virtual int | maxEncodedSizeFor (int insize, bool withCRLF=false) const =0 |
virtual const char * | name () const =0 |
Protected Member Functions | |
Base64Codec () | |
![]() | |
Codec () | |
Additional Inherited Members | |
![]() | |
static Codec * | codecForName (const char *name) |
static Codec * | codecForName (const QByteArray &name) |
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
◆ Base64Codec()
|
inlineprotected |
Constructs a Base64 codec.
Definition at line 71 of file kmime_codec_base64.h.
◆ ~Base64Codec()
|
inlinevirtual |
Destroys the codec.
Definition at line 77 of file kmime_codec_base64.h.
Member Function Documentation
◆ makeDecoder()
|
virtual |
Implements KMime::Codec.
Definition at line 155 of file kmime_codec_base64.cpp.
◆ makeEncoder()
|
virtual |
Implements KMime::Codec.
Reimplemented in KMime::Rfc2047BEncodingCodec.
Definition at line 150 of file kmime_codec_base64.cpp.
◆ maxDecodedSizeFor()
|
inlinevirtual |
Implements KMime::Codec.
Reimplemented in KMime::Rfc2047BEncodingCodec.
Definition at line 106 of file kmime_codec_base64.h.
◆ maxEncodedSizeFor()
|
inlinevirtual |
Implements KMime::Codec.
Reimplemented in KMime::Rfc2047BEncodingCodec.
Definition at line 90 of file kmime_codec_base64.h.
◆ name()
|
inlinevirtual |
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-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.