![](../resources/join.gif)
![Home](../graphics/ext-2-label-3.jpg)
![](../resources/separator.gif)
![Readme](../graphics/index-label-3.jpg)
![Release Info](../graphics/releases-label-3.jpg)
![](../resources/separator.gif)
![Installation](../graphics/install-label-3.jpg)
![Download](../graphics/ext-18-label-3.jpg)
![Build](../graphics/build-label-3.jpg)
![](../resources/separator.gif)
![FAQs](../graphics/faqs-label-3.jpg)
![Samples](../graphics/samples-label-3.jpg)
![API Docs](../graphics/api-label-3.jpg)
![](../resources/separator.gif)
![DOM C++ Binding](../graphics/ext-64-label-3.jpg)
![Programming](../graphics/program-label-3.jpg)
![Migration Guide](../graphics/migrate-label-3.jpg)
![](../resources/separator.gif)
![Feedback](../graphics/feedback-label-3.jpg)
![Bug-Reporting](../graphics/bug-report-label-3.jpg)
![PDF Document](../graphics/pdf-label-3.jpg)
![](../resources/separator.gif)
![CVS Repository](../graphics/ext-96-label-3.jpg)
![Mail Archive](../graphics/ext-98-label-3.jpg)
![](../resources/close.gif)
|
| |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
Base64 Class ReferenceList of all members.
Member Function Documentation
XMLCh* Base64::decode |
( |
const XMLCh *const |
inputData, |
|
|
unsigned int * |
outputLength, |
|
|
MemoryManager *const |
memMgr = 0 |
|
) |
[static] |
|
|
Decodes Base64 data into XMLCh.
NOTE: The returned buffer is dynamically allocated and is the responsibility of the caller to delete it when not longer needed. You can call XMLString::release to release this returned buffer.
If a memory manager is provided, ask the memory manager to de-allocate the returned buffer. -
Parameters:
-
inputData |
Base64 data in XMLCh stream. |
outputLength |
Length of decoded XMLCh stream |
memMgr |
client provided memory manager |
-
Returns:
-
Decoded binary data in XMLCh stream, or NULL if input data can not be decoded.
-
See also:
-
XMLString::release(XMLCh**)
|
|
Decodes Base64 data into octets.
NOTE: The returned buffer is dynamically allocated and is the responsibility of the caller to delete it when not longer needed. You can call XMLString::release to release this returned buffer.
If a memory manager is provided, ask the memory manager to de-allocate the returned buffer. -
Parameters:
-
inputData |
Base64 data in XMLByte stream. |
outputLength |
Length of decoded XMLByte stream. |
memMgr |
client provided memory manager |
-
Returns:
-
Decoded binary data in XMLByte stream, or NULL if input data can not be decoded.
-
See also:
-
XMLString::release(XMLByte**)
|
XMLByte* Base64::encode |
( |
const XMLByte *const |
inputData, |
|
|
const unsigned int |
inputLength, |
|
|
unsigned int * |
outputLength, |
|
|
MemoryManager *const |
memMgr = 0 |
|
) |
[static] |
|
|
Encodes octets into Base64 data.
NOTE: The returned buffer is dynamically allocated and is the responsibility of the caller to delete it when not longer needed. You can call XMLString::release to release this returned buffer.
If a memory manager is provided, ask the memory manager to de-allocate the returned buffer. -
Parameters:
-
inputData |
Binary data in XMLByte stream. |
inputLength |
Length of the XMLByte stream. |
outputLength |
Length of the encoded Base64 byte stream. |
memMgr |
client provided memory manager |
-
Returns:
-
Encoded Base64 data in XMLByte stream, or NULL if input data can not be encoded.
-
See also:
-
XMLString::release(XMLByte**)
|
int Base64::getDataLength |
( |
const XMLCh *const |
inputData, |
|
|
MemoryManager *const |
memMgr = 0 |
|
) |
[static] |
|
|
Get data length.
Returns length of decoded data given an array containing encoded data. -
Parameters:
-
inputData |
Base64 data in XMLCh stream. |
-
Returns:
-
Length of decoded data, or -1 if input data can not be decoded.
|
The documentation for this class was generated from the following file:
|
|
|