AWS SDK for C++
0.14.3
AWS SDK for C++
|
#include <Base64.h>
Public Member Functions | |
Base64 (const char *encodingTable=nullptr) | |
Aws::String | Encode (const ByteBuffer &) const |
ByteBuffer | Decode (const Aws::String &) const |
Static Public Member Functions | |
static size_t | CalculateBase64DecodedLength (const Aws::String &b64input) |
static size_t | CalculateBase64EncodedLength (const ByteBuffer &buffer) |
Aws::Utils::Base64::Base64::Base64 | ( | const char * | encodingTable = nullptr | ) |
|
static |
Calculates the required length of a base64 buffer after decoding the input string.
|
static |
Calculates the length of an encoded base64 string based on the buffer being encoded
ByteBuffer Aws::Utils::Base64::Base64::Decode | ( | const Aws::String & | ) | const |
Decode a base64 string into a byte buffer.
Aws::String Aws::Utils::Base64::Base64::Encode | ( | const ByteBuffer & | ) | const |
Encode a byte buffer into a base64 stream.
throws Base64Exception if encoding fails.