KMIME Library
kmime_codecs.cpp
Go to the documentation of this file.
This file is part of the API for handling MIME data and defines the Codec class.
A class representing the codec for QuotedPrintable as specified in RFC2045 (section 6...
Definition: kmime_codec_qp.h:58
virtual bool finish(char *&dcursor, const char *const dend)=0
Call this method to finalize the output stream.
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 API for handling MIME data and defines the Identity, seven-bit-text, eight-bit-text, and eight-bit-binary Codec classes.
This file is part of the API for handling MIME data and defines the Base64 and RFC2047B Codec classes...
A class representing the codec for RFC2231.
Definition: kmime_codec_qp.h:174
virtual int maxEncodedSizeFor(int insize, bool withCRLF=false) const =0
Computes the maximum size, in characters, needed for the encoding.
This file is part of the API for handling MIME data and defines a uuencode Codec class.
A class representing the codec for Base64 as specified in RFC2045.
Definition: kmime_codec_base64.h:64
An abstract base class of codecs for common mail transfer encodings.
Definition: kmime_codecs.h:83
static Codec * codecForName(const char *name)
Returns a codec associated with the specified name.
Definition: kmime_codecs.cpp:82
virtual Decoder * makeDecoder(bool withCRLF=false) const =0
Creates the decoder 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 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
virtual Encoder * makeEncoder(bool withCRLF=false) const =0
Creates the encoder for the codec.
virtual bool finish(char *&dcursor, const char *const dend)=0
Call this method to finalize the output stream.
This file is part of the API for handling MIME data and defines the QuotedPrintable, RFC2047Q, and RFC2231 Codec classes.
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.
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.
A class representing the codec for the Q encoding as specified in RFC2047Q.
Definition: kmime_codec_qp.h:117
A class representing the codec for the B encoding as specified in RFC2047B.
Definition: kmime_codec_base64.h:140
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:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.