Base64 encoding/decoding class.
More...
#include <tdme/utilities/Base64.h>
|
static const string | encode (const string &decodedString) |
| Encodes an string to base 64 string. More...
|
|
static const string | decode (const string &encodedString) |
| Decodes an base64 encoded string. More...
|
|
static void | encode (const string &decodedString, string &encodedString) |
| Encodes an string to base 64 string. More...
|
|
static void | encode (const vector< uint8_t > &decodedData, string &encodedString) |
| Encodes uint8_t vector to base 64 string. More...
|
|
static void | decode (const string &encodedString, string &decodedString) |
| Decodes an base64 encoded string. More...
|
|
static void | decode (const string &encodedString, vector< uint8_t > &decodedData) |
| Decodes an base64 encoded string into uint8_t vector. More...
|
|
Base64 encoding/decoding class.
- Author
- Andreas Drewke
Definition at line 16 of file Base64.h.
◆ decode() [1/3]
static const string decode |
( |
const string & |
encodedString | ) |
|
|
inlinestatic |
Decodes an base64 encoded string.
- Parameters
-
encodedString | encoded string |
- Returns
- decodedString
Definition at line 34 of file Base64.h.
◆ decode() [2/3]
void decode |
( |
const string & |
encodedString, |
|
|
string & |
decodedString |
|
) |
| |
|
static |
Decodes an base64 encoded string.
- Parameters
-
encodedString | encoded string |
decodedString | decoded string |
Definition at line 44 of file Base64.cpp.
◆ decode() [3/3]
void decode |
( |
const string & |
encodedString, |
|
|
vector< uint8_t > & |
decodedData |
|
) |
| |
|
static |
Decodes an base64 encoded string into uint8_t vector.
- Parameters
-
encodedString | encoded string |
decodedData | decoded data |
Definition at line 61 of file Base64.cpp.
◆ encode() [1/3]
static const string encode |
( |
const string & |
decodedString | ) |
|
|
inlinestatic |
Encodes an string to base 64 string.
- Parameters
-
decodedString | string to encode |
- Returns
- encodedString
Definition at line 23 of file Base64.h.
◆ encode() [2/3]
void encode |
( |
const string & |
decodedString, |
|
|
string & |
encodedString |
|
) |
| |
|
static |
Encodes an string to base 64 string.
- Parameters
-
decodedString | string to encode |
encodedString | encoded string |
Definition at line 12 of file Base64.cpp.
◆ encode() [3/3]
void encode |
( |
const vector< uint8_t > & |
decodedData, |
|
|
string & |
encodedString |
|
) |
| |
|
static |
Encodes uint8_t vector to base 64 string.
- Parameters
-
decodedData | data to encode |
encodedString | encoded string |
Definition at line 28 of file Base64.cpp.
The documentation for this class was generated from the following files:
- /home/andreas/Development/drewke.net/tdme2/src/tdme/utilities/Base64.h
- /home/andreas/Development/drewke.net/tdme2/src/tdme/utilities/Base64.cpp