KMIME Library
#include "kmime_codec_qp.h"
#include "kmime_util.h"
#include <kdebug.h>
#include <cassert>
#include <QtCore/QString>
Go to the source code of this file.
Functions | |
static char | KMime::binToHex (uchar value) |
static uchar | KMime::highNibble (uchar ch) |
static bool | KMime::keep (uchar ch) |
static uchar | KMime::lowNibble (uchar ch) |
static int | KMime::QuotedPrintableDecoder_maxDecodedSizeFor (int insize, bool withCRLF) |
Detailed Description
This file is part of the API for handling MIME data and defines the QuotedPrintable, RFC2047Q, and RFC2231 Codec classes.
Defines the classes QuotedPrintableCodec, Rfc2047QEncodingCodec, and Rfc2231EncodingCodec.
Definition in file kmime_codec_qp.cpp.
Function Documentation
◆ binToHex()
|
inlinestatic |
Converts a 4-bit value
into its hexadecimal characater representation.
So input of value [0,15] returns ['0','1',... 'F']. Input values greater than 15 will produce undesired results.
- Parameters
-
value is an unsigned character containing the 4-bit input value.
Definition at line 54 of file kmime_codec_qp.cpp.
◆ highNibble()
|
inlinestatic |
Returns the high-order 4 bits of an 8-bit value in another 8-bit value.
- Parameters
-
ch is an unsigned character containing the 8-bit input value.
Definition at line 67 of file kmime_codec_qp.cpp.
◆ keep()
|
inlinestatic |
Returns true if the specified value is a not Control character or question mark; else true.
- Parameters
-
ch is an unsigned character containing the 8-bit input value.
Definition at line 86 of file kmime_codec_qp.cpp.
◆ lowNibble()
|
inlinestatic |
Returns the low-order 4 bits of an 8-bit value in another 8-bit value.
- Parameters
-
ch is an unsigned character containing the 8-bit input value.
Definition at line 76 of file kmime_codec_qp.cpp.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Mon Jan 23 2017 01:34:42 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.