KMIME Library
kmime_codecs.cpp
Go to the documentation of this file.
220 }
A class representing the codec for Base64 as specified in RFC2045.
Definition kmime_codec_base64.h:65
An abstract base class of codecs for common mail transfer encodings.
Definition kmime_codecs.h:84
static Codec * codecForName(const char *name)
Returns a codec associated with the specified name.
Definition kmime_codecs.cpp:82
virtual int maxEncodedSizeFor(int insize, bool withCRLF=false) const =0
Computes the maximum size, in characters, needed for the encoding.
virtual int maxDecodedSizeFor(int insize, bool withCRLF=false) const =0
Computes the maximum size, in characters, needed for the deccoding.
virtual Encoder * makeEncoder(bool withCRLF=false) const =0
Creates the encoder for the codec.
virtual bool decode(const char *&scursor, const char *const send, char *&dcursor, const char *const dend, bool withCRLF=false) const
Convenience wrapper that can be used for small chunks of data when you can provide a large enough buf...
Definition kmime_codecs.cpp:183
virtual Decoder * makeDecoder(bool withCRLF=false) const =0
Creates the decoder for the codec.
virtual bool encode(const char *&scursor, const char *const send, char *&dcursor, const char *const dend, bool withCRLF=false) const
Convenience wrapper that can be used for small chunks of data when you can provide a large enough buf...
Definition kmime_codecs.cpp:108
bool flushOutputBuffer(char *&dcursor, const char *const dend)
Writes characters from the output buffer to the output stream.
Definition kmime_codecs.cpp:214
The KAutoDeleteHash class is a convenience QHash subclass that provides automatic deletion of the val...
Definition kautodeletehash.h:50
A class representing the codec for QuotedPrintable as specified in RFC2045 (section 6....
Definition kmime_codec_qp.h:59
A class representing the codec for the B encoding as specified in RFC2047B.
Definition kmime_codec_base64.h:141
A class representing the codec for the Q encoding as specified in RFC2047Q.
Definition kmime_codec_qp.h:118
A class representing the codec for RFC2231.
Definition kmime_codec_qp.h:175
This file is part of the API for handling MIME data and defines the Base64 and RFC2047B Codec classes...
This file is part of the API for handling MIME data and defines the Identity, seven-bit-text,...
This file is part of the API for handling MIME data and defines the QuotedPrintable,...
This file is part of the API for handling MIME data and defines a uuencode Codec class.
This file is part of the API for handling MIME data and defines the Codec class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.