KMIME Library
kmime_codecs.cpp
This file is part of the API for handling MIME data and defines the Identity, seven-bit-text,...
The KAutoDeleteHash class is a convenience QHash subclass that provides automatic deletion of the val...
Definition: kautodeletehash.h:50
virtual bool decode(const char *&scursor, const char *const send, char *&dcursor, const char *const dend)=0
Decodes a chunk of data, maintaining state information between calls.
This file is part of the API for handling MIME data and defines a uuencode Codec class.
An abstract base class of codecs for common mail transfer encodings.
Definition: kmime_codecs.h:84
virtual Decoder * makeDecoder(bool withCRLF=false) const =0
Creates the decoder for the codec.
virtual bool finish(char *&dcursor, const char *const dend)=0
Call this method to finalize the output stream.
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 int maxEncodedSizeFor(int insize, bool withCRLF=false) const =0
Computes the maximum size, in characters, needed for the encoding.
A class representing the codec for Base64 as specified in RFC2045.
Definition: kmime_codec_base64.h:65
This file is part of the API for handling MIME data and defines the QuotedPrintable,...
virtual Encoder * makeEncoder(bool withCRLF=false) const =0
Creates the encoder for the codec.
virtual bool encode(const char *&scursor, const char *const send, char *&dcursor, const char *const dend)=0
Encodes a chunk of data, maintaining state information between calls.
bool flushOutputBuffer(char *&dcursor, const char *const dend)
Writes characters from the output buffer to the output stream.
Definition: kmime_codecs.cpp:214
A class representing the codec for RFC2231.
Definition: kmime_codec_qp.h:175
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
A class representing the codec for QuotedPrintable as specified in RFC2045 (section 6....
Definition: kmime_codec_qp.h:59
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 Codec class.
A class representing the codec for the Q encoding as specified in RFC2047Q.
Definition: kmime_codec_qp.h:118
virtual bool finish(char *&dcursor, const char *const dend)=0
Call this method to finalize the output stream.
A class representing the codec for the B encoding as specified in RFC2047B.
Definition: kmime_codec_base64.h:141
static Codec * codecForName(const char *name)
Returns a codec associated with the specified name.
Definition: kmime_codecs.cpp:82
virtual int maxDecodedSizeFor(int insize, bool withCRLF=false) const =0
Computes the maximum size, in characters, needed for the deccoding.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jul 27 2021 06:50:37 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jul 27 2021 06:50:37 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.