#include <DefaultBase64Decoder.h>
Default tenduke::utl::Base64Decoder implementation. 
NOTE: This implementation is quite lenient, e.g. it ignores unrecognized characters and allows mixed regular and URL-safe decoding. 
 
 | 
| std::unique_ptr< BinaryData >  | decode (const std::string &base64EncodedString) const override | 
|   | Decodes given Base64-encoded string to bytes.  
  | 
|   | 
| std::unique_ptr< BinaryData >  | decode (const char *base64EncodedString, std::size_t numBytes) const override | 
|   | Decodes given Base64-encoded string to bytes.  
  | 
|   | 
| std::string  | decodeString (const std::string &base64EncodedString) const override | 
|   | Decodes given Base64-encoded string to string (assumes that the encoded data is a string).  
  | 
|   | 
| std::string  | decodeString (const char *base64EncodedString, std::size_t numBytes) const override | 
|   | Decodes given Base64-encoded string to string (assumes that the encoded data is a string).  
  | 
|   | 
| std::unique_ptr< BinaryData >  | decodeUrlSafe (const std::string &base64EncodedString) const override | 
|   | Decodes given URL-safe Base64-encoded string to BinaryData.  
  | 
|   | 
| std::unique_ptr< BinaryData >  | decodeUrlSafe (const char *base64EncodedString, std::size_t numBytes) const override | 
|   | Decodes given URL-safe Base64-encoded string to BinaryData.  
  | 
|   | 
| std::string  | decodeUrlSafeString (const std::string &base64EncodedString) const override | 
|   | Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string).  
  | 
|   | 
| std::string  | decodeUrlSafeString (const char *base64EncodedString, std::size_t numBytes) const override | 
|   | Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string).  
  | 
|   | 
◆ decode() [1/2]
  
  
      
        
          | std::unique_ptr< BinaryData > tenduke::utl::DefaultBase64Decoder::decode  | 
          ( | 
          const char * |           base64EncodedString,  | 
         
        
           | 
           | 
          std::size_t |           numBytes ) const | 
         
       
   | 
  
overridevirtual   | 
  
 
Decodes given Base64-encoded string to bytes. 
- Parameters
 - 
  
    | base64EncodedString | -  | 
    | numBytes | length of the data pointer to by parameter base64EncodedString  | 
  
   
- Returns
 - - 
 
Implements tenduke::utl::Base64Decoder.
 
 
◆ decode() [2/2]
  
  
      
        
          | std::unique_ptr< xdutl::BinaryData > tenduke::utl::DefaultBase64Decoder::decode  | 
          ( | 
          const std::string & |           base64EncodedString | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ decodeString() [1/2]
  
  
      
        
          | std::string tenduke::utl::DefaultBase64Decoder::decodeString  | 
          ( | 
          const char * |           base64EncodedString,  | 
         
        
           | 
           | 
          std::size_t |           numBytes ) const | 
         
       
   | 
  
overridevirtual   | 
  
 
Decodes given Base64-encoded string to string (assumes that the encoded data is a string). 
- Parameters
 - 
  
    | base64EncodedString | -  | 
    | numBytes | length of the data pointer to by parameter base64EncodedString  | 
  
   
- Returns
 - - 
 
Implements tenduke::utl::Base64Decoder.
 
 
◆ decodeString() [2/2]
  
  
      
        
          | std::string tenduke::utl::DefaultBase64Decoder::decodeString  | 
          ( | 
          const std::string & |           base64EncodedString | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
Decodes given Base64-encoded string to string (assumes that the encoded data is a string). 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
Implements tenduke::utl::Base64Decoder.
 
 
◆ decodeUrlSafe() [1/2]
  
  
      
        
          | std::unique_ptr< BinaryData > tenduke::utl::DefaultBase64Decoder::decodeUrlSafe  | 
          ( | 
          const char * |           base64EncodedString,  | 
         
        
           | 
           | 
          std::size_t |           numBytes ) const | 
         
       
   | 
  
overridevirtual   | 
  
 
Decodes given URL-safe Base64-encoded string to BinaryData. 
- Parameters
 - 
  
    | base64EncodedString | -  | 
    | numBytes | -  | 
  
   
- Returns
 - - 
 
Implements tenduke::utl::Base64Decoder.
 
 
◆ decodeUrlSafe() [2/2]
  
  
      
        
          | std::unique_ptr< xdutl::BinaryData > tenduke::utl::DefaultBase64Decoder::decodeUrlSafe  | 
          ( | 
          const std::string & |           base64EncodedString | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ decodeUrlSafeString() [1/2]
  
  
      
        
          | std::string tenduke::utl::DefaultBase64Decoder::decodeUrlSafeString  | 
          ( | 
          const char * |           base64EncodedString,  | 
         
        
           | 
           | 
          std::size_t |           numBytes ) const | 
         
       
   | 
  
overridevirtual   | 
  
 
Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string). 
- Parameters
 - 
  
    | base64EncodedString | -  | 
    | numBytes | length of the data pointer to by parameter base64EncodedString  | 
  
   
- Returns
 - - 
 
Implements tenduke::utl::Base64Decoder.
 
 
◆ decodeUrlSafeString() [2/2]
  
  
      
        
          | std::string tenduke::utl::DefaultBase64Decoder::decodeUrlSafeString  | 
          ( | 
          const std::string & |           base64EncodedString | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string). 
- Parameters
 - 
  
  
 
- Returns
 - - 
 
Implements tenduke::utl::Base64Decoder.
 
 
The documentation for this class was generated from the following files: