#include <Base64Decoder.h>
|
virtual std::unique_ptr< BinaryData > | decode (const std::string &base64EncodedString) const =0 |
| Decodes given Base64-encoded string to bytes.
|
|
virtual std::unique_ptr< BinaryData > | decode (const char *base64EncodedString, std::size_t numBytes) const =0 |
| Decodes given Base64-encoded string to bytes.
|
|
virtual std::string | decodeString (const std::string &base64EncodedString) const =0 |
| Decodes given Base64-encoded string to string (assumes that the encoded data is a string).
|
|
virtual std::string | decodeString (const char *base64EncodedString, std::size_t numBytes) const =0 |
| Decodes given Base64-encoded string to string (assumes that the encoded data is a string).
|
|
virtual std::unique_ptr< BinaryData > | decodeUrlSafe (const std::string &base64EncodedString) const =0 |
| Decodes given URL-safe Base64-encoded string to BinaryData.
|
|
virtual std::unique_ptr< BinaryData > | decodeUrlSafe (const char *base64EncodedString, std::size_t numBytes) const =0 |
| Decodes given URL-safe Base64-encoded string to BinaryData.
|
|
virtual std::string | decodeUrlSafeString (const std::string &base64EncodedString) const =0 |
| Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string).
|
|
virtual std::string | decodeUrlSafeString (const char *base64EncodedString, std::size_t numBytes) const =0 |
| Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string).
|
|
◆ decode() [1/2]
virtual std::unique_ptr< BinaryData > tenduke::utl::Base64Decoder::decode |
( |
const char * | base64EncodedString, |
|
|
std::size_t | numBytes ) const |
|
pure virtual |
Decodes given Base64-encoded string to bytes.
- Parameters
-
base64EncodedString | - |
numBytes | length of the data pointer to by parameter base64EncodedString |
- Returns
- -
Implemented in tenduke::utl::DefaultBase64Decoder.
◆ decode() [2/2]
virtual std::unique_ptr< BinaryData > tenduke::utl::Base64Decoder::decode |
( |
const std::string & | base64EncodedString | ) |
const |
|
pure virtual |
◆ decodeString() [1/2]
virtual std::string tenduke::utl::Base64Decoder::decodeString |
( |
const char * | base64EncodedString, |
|
|
std::size_t | numBytes ) const |
|
pure virtual |
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
- -
Implemented in tenduke::utl::DefaultBase64Decoder.
◆ decodeString() [2/2]
virtual std::string tenduke::utl::Base64Decoder::decodeString |
( |
const std::string & | base64EncodedString | ) |
const |
|
pure virtual |
◆ decodeUrlSafe() [1/2]
virtual std::unique_ptr< BinaryData > tenduke::utl::Base64Decoder::decodeUrlSafe |
( |
const char * | base64EncodedString, |
|
|
std::size_t | numBytes ) const |
|
pure virtual |
◆ decodeUrlSafe() [2/2]
virtual std::unique_ptr< BinaryData > tenduke::utl::Base64Decoder::decodeUrlSafe |
( |
const std::string & | base64EncodedString | ) |
const |
|
pure virtual |
◆ decodeUrlSafeString() [1/2]
virtual std::string tenduke::utl::Base64Decoder::decodeUrlSafeString |
( |
const char * | base64EncodedString, |
|
|
std::size_t | numBytes ) const |
|
pure virtual |
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
- -
Implemented in tenduke::utl::DefaultBase64Decoder.
◆ decodeUrlSafeString() [2/2]
virtual std::string tenduke::utl::Base64Decoder::decodeUrlSafeString |
( |
const std::string & | base64EncodedString | ) |
const |
|
pure virtual |
Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string).
- Parameters
-
- Returns
- -
Implemented in tenduke::utl::DefaultBase64Decoder.
The documentation for this class was generated from the following file: