AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Base64.h
Go to the documentation of this file.
1
6#pragma once
7
8#ifdef __APPLE__
9
10#ifdef __clang__
11#pragma clang diagnostic ignored "-Wdeprecated-declarations"
12#endif // __clang__
13
14#ifdef __GNUC__
15#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
16#endif // __GNUC__
17
18#endif // __APPLE__
19
23
24namespace Aws
25{
26 namespace Utils
27 {
28 namespace Base64
29 {
30
35 {
36 public:
37 Base64(const char *encodingTable = nullptr);
38
45
50
55 static size_t CalculateBase64DecodedLength(const Aws::String& b64input);
60
61 private:
62 char m_mimeBase64EncodingTable[64];
63 uint8_t m_mimeBase64DecodingTable[256];
64
65 };
66
67 } // namespace Base64
68 } // namespace Utils
69} // namespace Aws
70
#define AWS_CORE_API
Definition: Core_EXPORTS.h:26
char * buffer
Definition: cJSON.h:174
ByteBuffer Decode(const Aws::String &) const
Base64(const char *encodingTable=nullptr)
static size_t CalculateBase64DecodedLength(const Aws::String &b64input)
Aws::String Encode(const ByteBuffer &) const
static size_t CalculateBase64EncodedLength(const ByteBuffer &buffer)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97