22#if !defined(XERCESC_INCLUDE_GUARD_BASE64_HPP)
23#define XERCESC_INCLUDE_GUARD_BASE64_HPP
118 const XMLCh*
const inputData
136 const XMLCh*
const inputData
160 const XMLCh*
const inputData
179 static bool isData(
const XMLByte& octet);
180 static bool isPad(
const XMLByte& octet);
218 static const XMLByte base64Alphabet[];
219 static const XMLByte base64Padding;
221 static const XMLByte base64Inverse[];
223 static const unsigned int quadsPerLine;
229inline bool Base64::isPad(
const XMLByte& octet)
231 return ( octet == base64Padding );
236 return (( b1 << 2 ) | ( b2 >> 4 ));
241 return (( b2 << 4 ) | ( b3 >> 2 ));
246 return (( b3 << 6 ) | b4 );
251 b2 = ( ch & 0x3 ) << 4;
256 b3 = ( ch & 0xf ) << 2;
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
unsigned char XMLByte
Definition XercesDefs.hpp:65
#define XMLUTIL_EXPORT
Definition XercesDefs.hpp:162
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
size_t XMLSize_t
Definition Xerces_autoconf_config.hpp:112
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
static XMLByte * encode(const XMLByte *const inputData, const XMLSize_t inputLength, XMLSize_t *outputLength, MemoryManager *const memMgr=0)
Encodes octets into Base64 data.
static XMLCh * getCanonicalRepresentation(const XMLCh *const inputData, MemoryManager *const memMgr=0, Conformance conform=Conf_RFC2045)
get canonical representation
static XMLByte * decodeToXMLByte(const XMLCh *const inputData, XMLSize_t *decodedLength, MemoryManager *const memMgr=0, Conformance conform=Conf_RFC2045)
Decodes Base64 data into octets.
static XMLByte * decode(const XMLByte *const inputData, XMLSize_t *decodedLength, MemoryManager *const memMgr=0, Conformance conform=Conf_RFC2045)
Decodes Base64 data into octets.
static int getDataLength(const XMLCh *const inputData, MemoryManager *const memMgr=0, Conformance conform=Conf_RFC2045)
Get data length.
Conformance
Definition Base64.hpp:45
Configurable memory manager.
Definition MemoryManager.hpp:40