22 #if !defined(XERCESC_INCLUDE_GUARD_BASE64_HPP)
23 #define XERCESC_INCLUDE_GUARD_BASE64_HPP
95 , Conformance conform = Conf_RFC2045
117 static XMLByte* decodeToXMLByte(
118 const XMLCh*
const inputData
121 , Conformance conform = Conf_RFC2045
135 static int getDataLength(
136 const XMLCh*
const inputData
138 , Conformance conform = Conf_RFC2045
158 static XMLCh* getCanonicalRepresentation
160 const XMLCh*
const inputData
162 , Conformance conform = Conf_RFC2045
176 , Conformance conform = Conf_RFC2045
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;
229 inline 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;
Configurable memory manager.
Definition: MemoryManager.hpp:39
SIZE_T XMLSize_t
Definition: Xerces_autoconf_config.borland.hpp:86
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
wchar_t XMLCh
Definition: Xerces_autoconf_config.borland.hpp:92
unsigned char XMLByte
Definition: XercesDefs.hpp:65
#define XMLUTIL_EXPORT
Definition: XercesDefs.hpp:162
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
Definition: Base64.hpp:40
Conformance
Definition: Base64.hpp:44