|  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 | | |  |  |  | 
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members 
 Base64  Class Reference#include <Base64.hpp>
List of all members. 
| 
 Static Public Methods |  |  |  | XMLCh* | encode (const XMLCh *const inputData,const int inputLength,int *outputLength=0) |  |  | Encodes octets into Base64 data. More... 
 
 |  | int | getDataLength (const XMLCh *const inputData) |  |  | Get data length returns length of decoded data given an array containing encoded data. More... 
 
 |  | XMLCh* | decode (const XMLCh *const inputData,int &outputLength) |  |  | Decodes Base64 data into octets. More... 
 
 |  
 Member Function Documentation
 
  
    | 
        
          | XMLCh * Base64::decode ( | const XMLCh *const inputData, |  
          |  | int & outputLength )  [static] |  |  
  
    |  | 
Decodes Base64 data into octets.
 
 
Parameters: 
| inputData | Byte array containing Base64 data. |  | outputLength | Reference to variable, where will be stored length of returned data. | 
 
Returns: 
 Byte array containing decoded binary data, or  NULL if input data can not be decoded. 
 |  
 
  
    | 
        
          | XMLCh * Base64::encode ( | const XMLCh *const inputData, |  
          |  | const int inputLength, |  
          |  | int * outputLength = 0 )  [static] |  |  
  
    |  | 
Encodes octets into Base64 data.
 
 
Parameters: 
| inputData | Byte array containing binary data. |  | inputLength | Length of the input array. |  | outputLength | Pointer to variable, where will be stored length of returned data. | 
 
Returns: 
 Byte array containing encoded Base64 data, or NULL if input data can not be encoded. 
 |  
 
  
    | 
        
          | int Base64::getDataLength ( | const XMLCh *const inputData )  [static] |  |  
  
    |  | 
Get data length returns length of decoded data given an array containing encoded data.
 
 
Parameters: 
| inputData | Byte array containing Base64 data. | 
 
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:
 | 
 
 | 
 |