#include <OnixS/FIXEngine/Cryptography/Base64Encoding.h>
|
static std::string | encode (const void *data, const size_t dataSize) |
|
static void | decode (ByteArray &decoded, const std::string &encoded) |
|
static std::string | encodeUrl (const void *data, const size_t dataSize) |
|
static void | decodeUrl (ByteArray &decoded, const std::string &encoded) |
|
Definition at line 30 of file Base64Encoding.h.
static void decode |
( |
ByteArray & |
decoded, |
|
|
const std::string & |
encoded |
|
) |
| |
|
static |
Reconstructs the binary data from the BASE64-encoded text.
- Exceptions
-
An | exception if the text is corrupted or not BASE64-encoded. |
static void decodeUrl |
( |
ByteArray & |
decoded, |
|
|
const std::string & |
encoded |
|
) |
| |
|
static |
Reconstructs the binary data from the BASE64URL-encoded text.
- Exceptions
-
An | exception if the text is corrupted or not BASE64URL-encoded. |
static std::string encode |
( |
const void * |
data, |
|
|
const size_t |
dataSize |
|
) |
| |
|
static |
Returns the BASE64 presentation of the binary data.
- Note
- Encoding throws nothing.
static std::string encodeUrl |
( |
const void * |
data, |
|
|
const size_t |
dataSize |
|
) |
| |
|
static |
Returns the BASE64URL presentation of the binary data.
- Note
- Encoding throws nothing.
The documentation for this class was generated from the following file: