KMIME Library
kmime_codecs.cpp
Defines the classes IdentityCodec, SevenBitCodec, EightBitCodec, and BinaryCodec.
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.
Defines the UUCodec 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
Defines the classes QuotedPrintableCodec, Rfc2047QEncodingCodec, and Rfc2231EncodingCodec.
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
Defines the Base64Codec and Rfc2047BEncodingCodec classes.
Defines the classes 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-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.