KCodecs::Base64Codec
#include <kcodecsbase64.h>
Public Member Functions | |
Base64Codec () | |
~Base64Codec () override | |
Decoder * | makeDecoder (NewlineType newline=Codec::NewlineLF) const override |
Encoder * | makeEncoder (NewlineType newline=Codec::NewlineLF) const override |
qsizetype | maxDecodedSizeFor (qsizetype insize, NewlineType newline=Codec::NewlineLF) const override |
qsizetype | maxEncodedSizeFor (qsizetype insize, NewlineType newline) const override |
const char * | name () const override |
Public Member Functions inherited from KCodecs::Codec | |
virtual | ~Codec () |
virtual bool | decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const |
QByteArray | decode (QByteArrayView src, NewlineType newline=NewlineLF) const |
virtual bool | encode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const |
QByteArray | encode (QByteArrayView src, NewlineType newline=NewlineLF) const |
Additional Inherited Members | |
Public Types inherited from KCodecs::Codec | |
enum | NewlineType { NewlineLF , NewlineCRLF } |
Static Public Member Functions inherited from KCodecs::Codec | |
static Codec * | codecForName (QByteArrayView name) |
Protected Member Functions inherited from KCodecs::Codec | |
Codec () | |
Detailed Description
A class representing the codec for Base64 as specified in RFC2045.
Definition at line 48 of file kcodecsbase64.h.
Constructor & Destructor Documentation
◆ Base64Codec()
|
inline |
Constructs a Base64 codec.
Definition at line 54 of file kcodecsbase64.h.
◆ ~Base64Codec()
|
inlineoverride |
Destroys the codec.
Definition at line 62 of file kcodecsbase64.h.
Member Function Documentation
◆ makeDecoder()
|
overridevirtual |
◆ makeEncoder()
|
overridevirtual |
Implements KCodecs::Codec.
Reimplemented in KCodecs::Rfc2047BEncodingCodec.
Definition at line 137 of file kcodecsbase64.cpp.
◆ maxDecodedSizeFor()
|
inlineoverridevirtual |
Implements KCodecs::Codec.
Reimplemented in KCodecs::Rfc2047BEncodingCodec.
Definition at line 95 of file kcodecsbase64.h.
◆ maxEncodedSizeFor()
|
inlineoverridevirtual |
Implements KCodecs::Codec.
Reimplemented in KCodecs::Rfc2047BEncodingCodec.
Definition at line 79 of file kcodecsbase64.h.
◆ name()
|
inlineoverridevirtual |
Implements KCodecs::Codec.
Reimplemented in KCodecs::Rfc2047BEncodingCodec.
Definition at line 70 of file kcodecsbase64.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.