AWS SDK for C++  0.14.3
AWS SDK for C++
Public Member Functions | Static Public Member Functions | List of all members
Aws::Utils::Base64::Base64 Class Reference

#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)
 

Detailed Description

interface for platform specific Base64 encoding/decoding.

Definition at line 44 of file Base64.h.

Constructor & Destructor Documentation

Aws::Utils::Base64::Base64::Base64 ( const char *  encodingTable = nullptr)

Member Function Documentation

static size_t Aws::Utils::Base64::Base64::CalculateBase64DecodedLength ( const Aws::String b64input)
static

Calculates the required length of a base64 buffer after decoding the input string.

static size_t Aws::Utils::Base64::Base64::CalculateBase64EncodedLength ( const ByteBuffer buffer)
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.


The documentation for this class was generated from the following file: